vinagre r293 - in trunk: . src
- From: jwendell svn gnome org
- To: svn-commits-list gnome org
- Subject: vinagre r293 - in trunk: . src
- Date: Thu, 17 Apr 2008 00:54:04 +0100 (BST)
Author: jwendell
Date: Thu Apr 17 00:54:04 2008
New Revision: 293
URL: http://svn.gnome.org/viewvc/vinagre?rev=293&view=rev
Log:
2008-04-16 Jonathon Jongsma <jjongsma gnome org>
* src/vinagre-notebook.c: make the notebook tab close buttons smaller to
save some vertical space
Modified:
trunk/ChangeLog
trunk/src/vinagre-notebook.c
Modified: trunk/src/vinagre-notebook.c
==============================================================================
--- trunk/src/vinagre-notebook.c (original)
+++ trunk/src/vinagre-notebook.c Thu Apr 17 00:54:04 2008
@@ -138,7 +138,10 @@
rcstyle = gtk_rc_style_new ();
rcstyle->xthickness = rcstyle->ythickness = 0;
gtk_widget_modify_style (close_button, rcstyle);
- gtk_rc_style_unref (rcstyle),
+ gtk_rc_style_unref (rcstyle);
+ gint w, h;
+ gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h);
+ gtk_widget_set_size_request (GTK_WIDGET (close_button), w+2, h+2);
image = gtk_image_new_from_stock (GTK_STOCK_CLOSE,
GTK_ICON_SIZE_MENU);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]