機能 #601 » 0001-.patch
core/plugin/gtk/gtk.rb | ||
---|---|---|
tab = create_tab(i_tab)
|
||
if @tabs_promise[i_tab.slug]
|
||
@tabs_promise[i_tab.slug].call(tab)
|
||
@tabs_promise.delete(i_tab.slug) end end
|
||
@tabs_promise.delete(i_tab.slug) end
|
||
tab_icon_size_hook_id = UserConfig.connect(:tab_icon_size){ |key, val, before_val, id|
|
||
notice "change tab icon size to #{val}"
|
||
if !tab.destroyed?
|
||
icon = i_tab.icon
|
||
i_tab.set_icon nil
|
||
i_tab.set_icon icon end } end
|
||
on_profile_created do |i_profile|
|
||
create_pane(i_profile) end
|
||
... | ... | |
if tab
|
||
tab.remove(tab.child) if tab.child
|
||
if i_tab.icon.is_a?(String)
|
||
tab.add(::Gtk::WebIcon.new(i_tab.icon, 24, 24).show)
|
||
tab.add(::Gtk::WebIcon.new(i_tab.icon, UserConfig[:tab_icon_size], UserConfig[:tab_icon_size]).show)
|
||
else
|
||
tab.add(::Gtk::Label.new(i_tab.name).show) end end
|
||
self end
|
core/plugin/set_view/set_view.rb | ||
---|---|---|
tooltip(_("受信したつぶやきに短縮URLが含まれていた場合、それを短縮されていない状態に戻してから表示します。"))
|
||
end
|
||
select _('タブの位置'), :tab_position, 0 => _('上'), 1 => _('下'), 2 => _('左'), 3 => _('右')
|
||
settings(_('タブ')) do
|
||
select _('タブの位置'), :tab_position, 0 => _('上'), 1 => _('下'), 2 => _('左'), 3 => _('右')
|
||
adjustment _('アイコンサイズ'), :tab_icon_size, 1, 100
|
||
end
|
||
select(_('URLを開く方法'), :url_open_specified_command) do
|
||
option false, _("デフォルトブラウザを使う")
|
core/userconfig.rb | ||
---|---|---|
:mumble_self_bg => [65535, 65535, 255*222],
|
||
:mumble_selected_bg => [255*222, 255*222, 65535],
|
||
:tab_icon_size => 24,
|
||
# 右クリックメニューの並び順
|
||
:mumble_contextmenu_order => ['copy_selected_region',
|
||
'copy_description',
|