aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog7
-rw-r--r--widgets/misc/e-title-bar.c31
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 ();