[bijiben] Rename Note Dialog : do not set up twice the same title



commit 75838d33f7550ff1f32767a93dffefe0afd7cd38
Author: Pierre-Yves Luyten <py luyten fr>
Date:   Sun Nov 18 23:13:45 2012 +0100

    Rename Note Dialog : do not set up twice the same title
    
    The duplication title is due to gtk change (long time ago...)
    This same dialog is also used for new notes.

 src/bjb-rename-note.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/bjb-rename-note.c b/src/bjb-rename-note.c
index b8de862..82ffd76 100644
--- a/src/bjb-rename-note.c
+++ b/src/bjb-rename-note.c
@@ -18,11 +18,7 @@ note_title_dialog(GtkWindow *win, gchar *instructions, gchar *current_title)
 	                                     GTK_RESPONSE_OK,
 	                                     NULL);
     
-  area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
-
-  GtkWidget *lab = gtk_label_new(instructions);
-  gtk_box_pack_start (GTK_BOX (area), lab, TRUE, TRUE,2);
-    
+  area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));    
   entry = gtk_entry_new ();
 
   if ( current_title )



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]