diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-05 12:31:24 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-05 12:31:24 +0800 |
commit | 90b888b8af55c61c3af7d8356c4314aed2913a90 (patch) | |
tree | ee1f78388c558b36bdb13e9d76bc7ac22d68c0fb /widgets | |
parent | 3b8842db31f90aecfdbc59afd931b3291bed3968 (diff) | |
download | gsoc2013-evolution-90b888b8af55c61c3af7d8356c4314aed2913a90.tar gsoc2013-evolution-90b888b8af55c61c3af7d8356c4314aed2913a90.tar.gz gsoc2013-evolution-90b888b8af55c61c3af7d8356c4314aed2913a90.tar.bz2 gsoc2013-evolution-90b888b8af55c61c3af7d8356c4314aed2913a90.tar.lz gsoc2013-evolution-90b888b8af55c61c3af7d8356c4314aed2913a90.tar.xz gsoc2013-evolution-90b888b8af55c61c3af7d8356c4314aed2913a90.tar.zst gsoc2013-evolution-90b888b8af55c61c3af7d8356c4314aed2913a90.zip |
Make the close icon as large as the pin icon so the bar doesn't change
* e-title-bar.c: Make the close icon as large as the pin icon so
the bar doesn't change size when it switches between them.
(e_title_bar_construct): Add some horizontal padding to the label
to make it look nicer.
svn path=/trunk/; revision=11688
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-title-bar.c | 31 |
2 files changed, 25 insertions, 13 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 95e2032739..1dd673ad6d 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,10 @@ +2001-08-04 Ettore Perazzoli <ettore@ximian.com> + + * e-title-bar.c: Make the close icon as large as the pin icon so + the bar doesn't change size when it switches between them. + (e_title_bar_construct): Add some horizontal padding to the label + to make it look nicer. + 2001-08-03 Federico Mena Quintero <federico@ximian.com> * e-calendar-item.c (e_calendar_item_mark_day): Request an update. diff --git a/widgets/misc/e-title-bar.c b/widgets/misc/e-title-bar.c index 128139f944..840da2d901 100644 --- a/widgets/misc/e-title-bar.c +++ b/widgets/misc/e-title-bar.c @@ -50,21 +50,25 @@ static guint signals[LAST_SIGNAL] = { 0 }; /* The pixmaps. */ static char *close_xpm[] = { - "12 12 2 1", + "16 16 2 1", " c none", ". c #000000000000", - " ", - " .. .. ", - " ... ... ", - " ... ... ", - " ...... ", - " .... ", - " .... ", - " ...... ", - " ... ... ", - " ... ... ", - " .. .. ", - " " + " ", + " ", + " ", + " .. .. ", + " ... ... ", + " ... ... ", + " ...... ", + " .... ", + " .... ", + " ...... ", + " ... ... ", + " ... ... ", + " .. .. ", + " ", + " ", + " " }; static char *pin_xpm[] = { @@ -306,6 +310,7 @@ e_title_bar_construct (ETitleBar *title_bar, priv->label = e_clipped_label_new (title); gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.5); + gtk_misc_set_padding (GTK_MISC (priv->label), 2, 0); gtk_widget_show (priv->label); priv->button = gtk_button_new (); |