[I'm not sure whether I have sent this to _wrong_
address [EMAIL PROTECTED]

Here is the small patch that will expand the first row
by default in signal-list dialog.  bcoz, that is what
most of the times users will do when assigning
signals.  Afterall, I am new to this collaborative
developement.

Here is the patch
*** ../../glade3.orig/src/glade-signal-editor.c Mon
Jan 12 21:38:09 2004
--- glade-signal-editor.c       Mon Jan 12 22:04:06
2004
***************
*** 158,161 ****
--- 158,162 ----
        GtkTreeIter *parent = NULL;
        GList *list = NULL;
+       GtkTreePath *path_first = NULL;
        GladeWidgetClassSignal *signal;
    
***************
*** 174,177 ****
--- 175,182 ----
               
glade_signal_editor_dialog_append_signal (lst_model,
signal->name, parent);
        }
+       /* Sridhar R: Expand the first row */
+       path_first = gtk_tree_path_new_first();
+       gtk_tree_view_expand_row(GTK_TREE_VIEW (view),
path_first, FALSE);
+       gtk_tree_path_free(path_first);
  }
  
***************
*** 183,186 ****
--- 188,193 ----
        gint response;
  
+       g_assert(editor);
+       g_assert(editor->class);
        g_return_if_fail (editor->class->signals !=
NULL);
  
***************
*** 663,665 ****
        }
  }
- 
--- 670,671 ----

I have also attached the diff.

=====
Sridhar R 
Email: [EMAIL PROTECTED]
WWW:   http://sridhar.has.it

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Attachment: signal-editor.diff
Description: signal-editor.diff

Reply via email to