[Xfce4-commits] <postler:master> Make Save and Send buttons in composer wider
Christian Dywan
noreply at xfce.org
Mon Jan 31 03:52:01 CET 2011
Updating branch refs/heads/master
to 8c38cb47553b5b693e81389575a197cc28e7dbb6 (commit)
from 262f0e1003d60662801169277f48e58f5e45c2f5 (commit)
commit 8c38cb47553b5b693e81389575a197cc28e7dbb6
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Jan 31 02:52:17 2011 +0100
Make Save and Send buttons in composer wider
postler/postler-composer.vala | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/postler/postler-composer.vala b/postler/postler-composer.vala
index 8bf1709..c15db6c 100644
--- a/postler/postler-composer.vala
+++ b/postler/postler-composer.vala
@@ -456,9 +456,20 @@ public class Postler.Composer : Gtk.Window {
shelf.pack_start (menubar, false, false, 0);
toolbar = ui.get_widget ("/toolbar") as Gtk.Toolbar;
toolbar.set_icon_size (Gtk.IconSize.BUTTON);
+
+ Gtk.rc_parse_string ("""
+ style "postler-widebutton"
+ {
+ GtkButton::inner-border = { 16, 16, 0, 0 }
+ }
+ widget "*PostlerWideButton" style "postler-widebutton"
+ """
+ );
+
var toolitem = new Gtk.ToolItem ();
toolitem.set_border_width (4);
var button = new Gtk.Button.from_stock (Gtk.STOCK_SAVE);
+ button.name = "PostlerWideButton";
toolitem.add (button);
actions.get_action ("MessageSave").connect_proxy (button);
button.sensitive = false;
@@ -469,6 +480,7 @@ public class Postler.Composer : Gtk.Window {
toolitem = new Gtk.ToolItem ();
toolitem.set_border_width (4);
var button_send = new Gtk.Button.from_stock (STOCK_MAIL_SEND);
+ button_send.name = "PostlerWideButton";
toolitem.add (button_send);
var send = actions.get_action ("MessageSend");
send.connect_proxy (button_send);
More information about the Xfce4-commits
mailing list