Patch for bonobo-ui-sync-status.c
- From: Paolo Maggi <maggi athena polito it>
- To: Michael Meeks <michael ximian com>
- Cc: Gnome Components List <gnome-components-list gnome org>
- Subject: Patch for bonobo-ui-sync-status.c
- Date: 26 Feb 2002 12:52:04 +0100
Hi.
here you can find a simple patch for bonobo-ui-sync-status.c
The ChangeLog entry is:
2002-02-26 Paolo Maggi <maggi athena polito it>
* bonobo/bonobo-ui-sync-status.c (impl_bonobo_ui_sync_status_state):
Show the resize grip if
resize_grip is set to 1.
Ciao
Paolo
Index: bonobo-ui-sync-status.c
===================================================================
RCS file: /cvs/gnome/libbonoboui/bonobo/bonobo-ui-sync-status.c,v
retrieving revision 1.19
diff -u -r1.19 bonobo-ui-sync-status.c
--- bonobo-ui-sync-status.c 2002/02/08 17:00:47 1.19
+++ bonobo-ui-sync-status.c 2002/02/26 11:41:41
@@ -80,10 +80,14 @@
resize_grip = bonobo_ui_node_peek_attr (node, "resize_grip");
- if (resize_grip && atoi (resize_grip) == 0)
- gtk_statusbar_set_has_resize_grip (msync->main_status,
- FALSE);
-
+ if (resize_grip) {
+ if (atoi (resize_grip) == 0)
+ gtk_statusbar_set_has_resize_grip (
+ msync->main_status, FALSE);
+ else
+ gtk_statusbar_set_has_resize_grip (
+ msync->main_status, TRUE);
+ }
id_str = bonobo_ui_engine_node_get_id (sync->engine, node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]