[Xfce4-commits] <xfce4-settings:master> Add comments.

Jérôme Guelfucci noreply at xfce.org
Sun Dec 30 15:44:08 CET 2012


Updating branch refs/heads/master
         to e5895031ef606614ec7489d1cdd2f840af18d6f5 (commit)
       from 1161ff583b2c946715826a514a5489a7309dacea (commit)

commit e5895031ef606614ec7489d1cdd2f840af18d6f5
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Sat Dec 22 10:02:58 2012 +0100

    Add comments.

 dialogs/keyboard-settings/command-dialog.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dialogs/keyboard-settings/command-dialog.c b/dialogs/keyboard-settings/command-dialog.c
index 5256b3a..a3adad3 100644
--- a/dialogs/keyboard-settings/command-dialog.c
+++ b/dialogs/keyboard-settings/command-dialog.c
@@ -122,6 +122,8 @@ command_dialog_create_contents (CommandDialog *dialog,
 
   if (!shortcut)
     {
+      /* No shortcut passed, means that we are creating a new one */
+
       const gchar *explanation;
       gchar       *explanation_markup;
 
@@ -144,6 +146,8 @@ command_dialog_create_contents (CommandDialog *dialog,
 
   if (shortcut)
     {
+      /* We are editing an existing shortcut */
+
       label = gtk_label_new (_("Shortcut:"));
       gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
       gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 0, 0);


More information about the Xfce4-commits mailing list