[prev in list] [next in list] [prev in thread] [next in thread]
List: pidgin-commits
Subject: cpw.nader.asynclogging-3: 34c3d21a: Fixed the log viewer label being
From: morshed.nader () gmail ! com
Date: 2011-05-23 1:50:46
Message-ID: 20110523015046.D6797AFD0A9E () rock ! pidgin ! im
[Download RAW message or body]
----------------------------------------------------------------------
Revision: 34c3d21a9d7787508d1d963dd3fccc734b30a4e4
Parent: 21a8506599f230df89091c99ba8face0ab8d56d8
Author: morshed.nader@gmail.com
Date: 05/22/11 21:35:35
Branch: im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/34c3d21a9d7787508d1d963dd3fccc734b30a4e4
Changelog:
Fixed the log viewer label being right-justified
Changes against parent 21a8506599f230df89091c99ba8face0ab8d56d8
patched pidgin/gtklog.c
============================================================
--- pidgin/gtklog.c b9cc71351ef292726865cb26e5850de219f125b3
+++ pidgin/gtklog.c d58265ceb9349f34afc9bd35352971f64ffd8f56
@@ -1781,6 +1781,10 @@ pidgin_log_viewer_constructed(GObject *o
gtk_widget_show(icon);
}
+ /* Pack the label at this point so that it goes after the icon without being
+ * right-justified because of using gtk_box_pack_end() earlier
+ */
+ gtk_box_pack_start(GTK_BOX(priv->title_box), priv->label, FALSE, FALSE, 0);
/* Log size */
need_log_size = pidgin_log_viewer_get_need_log_size(lv);
@@ -2167,7 +2171,7 @@ pidgin_log_viewer_init(PidginLogViewer *
/* Title Label */
priv->label = gtk_label_new(NULL);
gtk_misc_set_alignment(GTK_MISC(priv->label), 0, 0);
- gtk_box_pack_end(GTK_BOX(priv->title_box), priv->label, FALSE, FALSE, 0);
+ /* Pack in construction */
gtk_widget_show(priv->label);
_______________________________________________
Commits mailing list
Commits@pidgin.im
http://pidgin.im/cgi-bin/mailman/listinfo/commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic