clean up strings to make them match the ui-suggestions, and make them correct
This commit is contained in:
parent
c3b7374d08
commit
c0aaf2ca2e
2 changed files with 22 additions and 9 deletions
|
@ -46,12 +46,15 @@ cb_dialog_response (GtkDialog *dialog, gint response_id)
|
|||
gtk_main_quit ();
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
setup_dialog (GladeXML *dialog)
|
||||
{
|
||||
GConfClient *client;
|
||||
GtkWidget *widget;
|
||||
GObject *peditor;
|
||||
gchar *filename;
|
||||
GdkPixbuf *icon_pixbuf;
|
||||
|
||||
client = gconf_client_get_default ();
|
||||
|
||||
|
@ -66,6 +69,11 @@ setup_dialog (GladeXML *dialog)
|
|||
PEDITOR_FONT_COMBINED, NULL);
|
||||
|
||||
widget = WID ("font_dialog");
|
||||
filename = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_APP_PIXMAP, "keyboard-shortcut.png", TRUE, NULL);
|
||||
icon_pixbuf = gdk_pixbuf_new_from_file ("font-capplet.png", NULL);
|
||||
gtk_window_set_icon (GTK_WINDOW (widget), icon_pixbuf);
|
||||
g_free (filename);
|
||||
g_object_unref (icon_pixbuf);
|
||||
gtk_widget_show (widget);
|
||||
|
||||
g_signal_connect (G_OBJECT (widget),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue