gossip r2755 - in trunk: . src
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: gossip r2755 - in trunk: . src
- Date: Mon, 3 Mar 2008 20:07:24 +0000 (GMT)
Author: mr
Date: Mon Mar 3 20:07:24 2008
New Revision: 2755
URL: http://svn.gnome.org/viewvc/gossip?rev=2755&view=rev
Log:
Don't allow chatroom browsing if there is no server
Modified:
trunk/ChangeLog
trunk/src/gossip-new-chatroom-dialog.c
Modified: trunk/src/gossip-new-chatroom-dialog.c
==============================================================================
--- trunk/src/gossip-new-chatroom-dialog.c (original)
+++ trunk/src/gossip-new-chatroom-dialog.c Mon Mar 3 20:07:24 2008
@@ -223,6 +223,9 @@
}
}
+ /* Only allow browsing if we have a server */
+ gtk_widget_set_sensitive (dialog->togglebutton_refresh, !G_STR_EMPTY (server));
+
/* Only join if:
* 1. If we are not ALREADY in the room
* 2. If we are creating the room
@@ -571,7 +574,6 @@
cell = gtk_cell_renderer_text_new ();
g_object_set (cell,
"xpad", (guint) 4,
- "ypad", (guint) 1,
"ellipsize", PANGO_ELLIPSIZE_END,
NULL);
@@ -593,9 +595,7 @@
/* Columns: Occupants */
cell = gtk_cell_renderer_text_new ();
g_object_set (cell,
- "xalign", 0.5,
"xpad", (guint) 4,
- "ypad", (guint) 1,
NULL);
column = gtk_tree_view_column_new_with_attributes (_("Users"), cell,
@@ -610,9 +610,7 @@
/* Columns: Password Protected */
cell = gtk_cell_renderer_pixbuf_new ();
g_object_set (cell,
- "xalign", 0.5,
"xpad", (guint) 4,
- "ypad", (guint) 1,
"stock-size", GTK_ICON_SIZE_SMALL_TOOLBAR,
NULL);
@@ -630,7 +628,6 @@
cell = gtk_cell_renderer_text_new ();
g_object_set (cell,
"xpad", (guint) 4,
- "ypad", (guint) 1,
"ellipsize", PANGO_ELLIPSIZE_END,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]