/[xlog]/xlog/src/log.c
ViewVC logotype

Diff of /xlog/src/log.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by pa4tu, Wed Oct 1 22:35:56 2003 UTC revision 1.11 by pa4tu, Tue Oct 7 16:59:07 2003 UTC
# Line 237  openlog (LOGDB * lp, gchar * name, gint Line 237  openlog (LOGDB * lp, gchar * name, gint
237  {  {
238          logtype *logwindow;          logtype *logwindow;
239          gint i, j;          gint i, j;
         gchar *logn;  
240          GtkCellRenderer *renderer;          GtkCellRenderer *renderer;
241          GtkTreeViewColumn *column;          GtkTreeViewColumn *column;
242          GObject *selection;          GObject *selection;
# Line 333  openlog (LOGDB * lp, gchar * name, gint Line 332  openlog (LOGDB * lp, gchar * name, gint
332                             logwindow->treeview);                             logwindow->treeview);
333    
334          /* change the page label */          /* change the page label */
335          logn = logname (name);          logwindow->label = gtk_label_new (name);
         logwindow->label = gtk_label_new (logn);  
336          gtk_widget_show (logwindow->label);          gtk_widget_show (logwindow->label);
337          gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook),          gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook),
338                  gtk_notebook_get_nth_page (GTK_NOTEBOOK(mainnotebook), page),                  gtk_notebook_get_nth_page (GTK_NOTEBOOK(mainnotebook), page),
# Line 342  openlog (LOGDB * lp, gchar * name, gint Line 340  openlog (LOGDB * lp, gchar * name, gint
340          gtk_misc_set_padding (GTK_MISC (logwindow->label), 10, 0);          gtk_misc_set_padding (GTK_MISC (logwindow->label), 10, 0);
341          setlabelstyle (logwindow->label, preferences.themecolor,          setlabelstyle (logwindow->label, preferences.themecolor,
342                         preferences.themefont);                         preferences.themefont);
343          logwindow->logname = g_strdup (logn);          logwindow->logname = g_strdup (name);
344    
         g_free (logn);  
345          return (logwindow);          return (logwindow);
346  }  }
347    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26