[gdm-list] [PATCH] missing tooltips
- From: Rodrigo Moya <rodrigo novell com>
- To: gdm-list gnome org
- Subject: [gdm-list] [PATCH] missing tooltips
- Date: Wed, 17 Aug 2005 17:57:51 +0200
Hi
The attached patch adds missing tooltips to the Reboot and Suspend items
in the system dialog.
Ok to commit?
--
Rodrigo Moya <rodrigo novell com>
? m4/intltool.m4
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gdm2/ChangeLog,v
retrieving revision 1.1197
diff -u -p -r1.1197 ChangeLog
--- ChangeLog 16 Aug 2005 19:02:55 -0000 1.1197
+++ ChangeLog 17 Aug 2005 15:57:01 -0000
@@ -1,3 +1,8 @@
+2005-08-17 Rodrigo Moya <rodrigo novell com>
+
+ * gui/greeter/greeter_system.c (greeter_system_handler): added
+ missing tooltips.
+
2005-08-16 Brian Cameron <brian cameron sun com>
* README: Add info about the gdm-list gnome org and
Index: gui/greeter/greeter_system.c
===================================================================
RCS file: /cvs/gnome/gdm2/gui/greeter/greeter_system.c,v
retrieving revision 1.30
diff -u -p -r1.30 greeter_system.c
--- gui/greeter/greeter_system.c 19 Jul 2005 07:53:43 -0000 1.30
+++ gui/greeter/greeter_system.c 17 Aug 2005 15:57:01 -0000
@@ -317,6 +317,9 @@ greeter_system_handler (GreeterItemInfo
restart_radio = gtk_radio_button_new_with_mnemonic (radio_group,
_("_Reboot the computer"));
group_radio = restart_radio;
+ gtk_tooltips_set_tip (tooltips, GTK_WIDGET (restart_radio),
+ _("Reboot your computer"),
+ NULL);
g_signal_connect(G_OBJECT(restart_radio), "button_press_event",
G_CALLBACK(radio_button_press_event), NULL);
gtk_box_pack_start (GTK_BOX (vbox),
@@ -331,6 +334,9 @@ greeter_system_handler (GreeterItemInfo
suspend_radio = gtk_radio_button_new_with_mnemonic (radio_group,
_("Sus_pend the computer"));
group_radio = suspend_radio;
+ gtk_tooltips_set_tip (tooltips, GTK_WIDGET (suspend_radio),
+ _("Suspend your computer"),
+ NULL);
g_signal_connect(G_OBJECT(suspend_radio), "button_press_event",
G_CALLBACK(radio_button_press_event), NULL);
gtk_box_pack_start (GTK_BOX (vbox),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]