vinagre r148 - in trunk: . src
- From: jwendell svn gnome org
- To: svn-commits-list gnome org
- Subject: vinagre r148 - in trunk: . src
- Date: Fri, 25 Jan 2008 14:23:36 +0000 (GMT)
Author: jwendell
Date: Fri Jan 25 14:23:36 2008
New Revision: 148
URL: http://svn.gnome.org/viewvc/vinagre?rev=148&view=rev
Log:
2008-01-25 Jonh Wendell <jwendell gnome org>
* src/vinagre-notebook.c: Adjust the size of tabs.
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 Fri Jan 25 14:23:36 2008
@@ -2,7 +2,7 @@
* vinagre-notebook.c
* This file is part of vinagre
*
- * Copyright (C) 2007 - Jonh Wendell <wendell bani com br>
+ * Copyright (C) 2007,2008 - Jonh Wendell <wendell bani com br>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -75,21 +75,6 @@
}
static void
-tab_label_style_set_cb (GtkWidget *hbox,
- GtkStyle *previous_style,
- gpointer user_data)
-{
- GtkWidget *button;
- gint h, w;
-
- gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (hbox),
- GTK_ICON_SIZE_MENU, &w, &h);
-
- button = g_object_get_data (G_OBJECT (hbox), "close-button");
- gtk_widget_set_size_request (button, w + 2, h + 2);
-}
-
-static void
tab_initialized_cb (VinagreTab *tab, VinagreNotebook *nb)
{
char *str;
@@ -182,10 +167,6 @@
dummy_label = gtk_label_new ("");
gtk_box_pack_start (GTK_BOX (label_hbox), dummy_label, TRUE, TRUE, 0);
- /* Set minimal size */
- g_signal_connect (hbox, "style-set",
- G_CALLBACK (tab_label_style_set_cb), NULL);
-
gtk_widget_show (hbox);
gtk_widget_show (label_ebox);
gtk_widget_show (label_hbox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]