[Goodies-commits] r6006 - in xfce4-dict/trunk: lib src

Enrico Troeger enrico at xfce.org
Fri Nov 7 16:45:13 CET 2008


Author: enrico
Date: 2008-11-07 15:45:13 +0000 (Fri, 07 Nov 2008)
New Revision: 6006

Modified:
   xfce4-dict/trunk/lib/gui.c
   xfce4-dict/trunk/lib/prefs.c
   xfce4-dict/trunk/src/xfce4-dict.c
   xfce4-dict/trunk/src/xfce4-dict.desktop.in
Log:
Ditch "Xfce4" in dialog titles.

Modified: xfce4-dict/trunk/lib/gui.c
===================================================================
--- xfce4-dict/trunk/lib/gui.c	2008-11-07 15:45:10 UTC (rev 6005)
+++ xfce4-dict/trunk/lib/gui.c	2008-11-07 15:45:13 UTC (rev 6006)
@@ -464,7 +464,7 @@
 	GtkWidget *method_chooser, *radio, *label;
 
 	dd->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-	gtk_window_set_title(GTK_WINDOW(dd->window), _("Xfce4 Dictionary"));
+	gtk_window_set_title(GTK_WINDOW(dd->window), _("Dictionary"));
 	gtk_window_set_default_size(GTK_WINDOW(dd->window), 500, 300);
 	gtk_widget_set_name(dd->window, "Xfce4Dict");
 

Modified: xfce4-dict/trunk/lib/prefs.c
===================================================================
--- xfce4-dict/trunk/lib/prefs.c	2008-11-07 15:45:10 UTC (rev 6005)
+++ xfce4-dict/trunk/lib/prefs.c	2008-11-07 15:45:13 UTC (rev 6006)
@@ -274,14 +274,14 @@
 	GtkWidget *label1, *label2, *label3;
 
 	dialog = xfce_titled_dialog_new_with_buttons(
-		_("Xfce4 Dictionary Preferences"), GTK_WINDOW(parent),
+		_("Dictionary"), GTK_WINDOW(parent),
 		GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
 		GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
 		NULL);
 
 	gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
 	gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);
-	gtk_window_set_icon_name(GTK_WINDOW(dialog), "xfce4-settings");
+	gtk_window_set_icon_name(GTK_WINDOW(dialog), "xfce4-dict");
 	if (! dd->is_plugin) /* the response callback is run by the plugin's callback */
 		g_signal_connect(dialog, "response", G_CALLBACK(dict_prefs_dialog_response), dd);
 

Modified: xfce4-dict/trunk/src/xfce4-dict.c
===================================================================
--- xfce4-dict/trunk/src/xfce4-dict.c	2008-11-07 15:45:10 UTC (rev 6005)
+++ xfce4-dict/trunk/src/xfce4-dict.c	2008-11-07 15:45:13 UTC (rev 6006)
@@ -37,9 +37,6 @@
 #include "popup_plugin.h"
 
 
-#if GLIB_CHECK_VERSION(2,14,0)
-static gboolean show_help = FALSE;
-#endif
 static gboolean show_version = FALSE;
 static gboolean ignore_plugin = FALSE;
 static gboolean use_clipboard = FALSE;

Modified: xfce4-dict/trunk/src/xfce4-dict.desktop.in
===================================================================
--- xfce4-dict/trunk/src/xfce4-dict.desktop.in	2008-11-07 15:45:10 UTC (rev 6005)
+++ xfce4-dict/trunk/src/xfce4-dict.desktop.in	2008-11-07 15:45:13 UTC (rev 6006)
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Type=Application
 Version=1.0
-_Name=Xfce4 Dictionary
+_Name=Dictionary
 _GenericName=Dictionary Client
 _Comment=A client program to query different dictionaries.
 Icon=xfce4-dict




More information about the Goodies-commits mailing list