kconfig: replace KERNELVERSION usage by the mainmenu's prompt
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
@@ -133,7 +133,6 @@ void init_main_window(const gchar * glade_file)
|
||||
GladeXML *xml;
|
||||
GtkWidget *widget;
|
||||
GtkTextBuffer *txtbuf;
|
||||
char title[256];
|
||||
GtkStyle *style;
|
||||
|
||||
xml = glade_xml_new(glade_file, "window1", NULL);
|
||||
@@ -210,9 +209,7 @@ void init_main_window(const gchar * glade_file)
|
||||
/*"style", PANGO_STYLE_OBLIQUE, */
|
||||
NULL);
|
||||
|
||||
sprintf(title, _("Linux Kernel v%s Configuration"),
|
||||
getenv("KERNELVERSION"));
|
||||
gtk_window_set_title(GTK_WINDOW(main_wnd), title);
|
||||
gtk_window_set_title(GTK_WINDOW(main_wnd), rootmenu.prompt->text);
|
||||
|
||||
gtk_widget_show(main_wnd);
|
||||
}
|
||||
|
Reference in New Issue
Block a user