/[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.12 by pa4tu, Tue Oct 7 17:07:02 2003 UTC revision 1.13 by pa4tu, Mon Nov 3 18:20:36 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;
240            gchar *logn;
241          GtkCellRenderer *renderer;          GtkCellRenderer *renderer;
242          GtkTreeViewColumn *column;          GtkTreeViewColumn *column;
243          GObject *selection;          GObject *selection;
# Line 332  openlog (LOGDB * lp, gchar * name, gint Line 333  openlog (LOGDB * lp, gchar * name, gint
333                             logwindow->treeview);                             logwindow->treeview);
334    
335          /* change the page label */          /* change the page label */
336          logwindow->label = gtk_label_new (name);          logn = logname (name);
337            logwindow->label = gtk_label_new (logn);
338          gtk_widget_show (logwindow->label);          gtk_widget_show (logwindow->label);
339          gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook),          gtk_notebook_set_tab_label (GTK_NOTEBOOK (mainnotebook),
340                  gtk_notebook_get_nth_page (GTK_NOTEBOOK(mainnotebook), page),                  gtk_notebook_get_nth_page (GTK_NOTEBOOK(mainnotebook), page),
# Line 340  openlog (LOGDB * lp, gchar * name, gint Line 342  openlog (LOGDB * lp, gchar * name, gint
342          gtk_misc_set_padding (GTK_MISC (logwindow->label), 10, 0);          gtk_misc_set_padding (GTK_MISC (logwindow->label), 10, 0);
343          setlabelstyle (logwindow->label, preferences.themecolor,          setlabelstyle (logwindow->label, preferences.themecolor,
344                         preferences.themefont);                         preferences.themefont);
345          logwindow->logname = g_strdup (name);          logwindow->logname = g_strdup (logn);
346            g_free (logn);
347    
348          return (logwindow);          return (logwindow);
349  }  }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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