anjuta r3475 - in trunk: . plugins/gtodo plugins/search plugins/subversion plugins/tools po src



Author: jhs
Date: Wed Jan 16 13:19:33 2008
New Revision: 3475
URL: http://svn.gnome.org/viewvc/anjuta?rev=3475&view=rev

Log:
2008-01-16  Johannes Schmid <jhs gnome org>

	* plugins/gtodo/preferences.c: (pref_gconf_set_notifications):
	Removed unused gconf_notifications
	
	* plugins/search/anjuta-search.glade:
	* plugins/subversion/anjuta-subversion.glade:
	* plugins/tools/anjuta-tools.glade:
	* src/anjuta-app.c: (anjuta_app_instance_init):
	
	Fixed various string

Modified:
   trunk/ChangeLog
   trunk/plugins/gtodo/preferences.c
   trunk/plugins/search/anjuta-search.glade
   trunk/plugins/subversion/anjuta-subversion.glade
   trunk/plugins/tools/anjuta-tools.glade
   trunk/po/ChangeLog
   trunk/po/de.po
   trunk/src/anjuta-app.c

Modified: trunk/plugins/gtodo/preferences.c
==============================================================================
--- trunk/plugins/gtodo/preferences.c	(original)
+++ trunk/plugins/gtodo/preferences.c	Wed Jan 16 13:19:33 2008
@@ -375,46 +375,7 @@
 {
 	settings.purge_days = gconf_client_get_int(client, "/apps/gtodo/prefs/auto-purge-days",NULL);
 }    
-#endif
-static void  pref_gconf_changed_sort_type(GConfClient *client)
-{
-	settings.sorttype = gconf_client_get_int(client, "/apps/gtodo/prefs/sort-type",NULL);
-	// FIXME: set_sorting_menu_item();
-}    
-static void  pref_gconf_changed_sort_order(GConfClient *client)
-{
-	settings.sortorder = gconf_client_get_int(client, "/apps/gtodo/prefs/sort-order",NULL);
-	if(settings.sortorder == 0)gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, N_("/View/Sorting/Sort Ascending"))), TRUE);		
-	else gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, N_("/View/Sorting/Sort Descending"))), TRUE);		
-	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE (mw.sortmodel),0 , settings.sortorder);
-}    
-
-static void  pref_gconf_changed_hide_done(GConfClient *client)
-{
-	settings.hide_done = gconf_client_get_bool(client, "/apps/gtodo/prefs/hide-done",NULL);
-	/*	//    gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, _("/View/Todo List/Hide Completed Items"))),settings.hide_done);
-	*/
-	gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, N_("/View/Hide Completed Items"))),settings.hide_done);
-	category_changed();
-}    
-
-static void  pref_gconf_changed_hide_due(GConfClient *client)
-{
-	settings.hide_due = gconf_client_get_bool(client, /* "/schemas*/"/apps/gtodo/prefs/hide-due",NULL);
-	/*//    gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, _("/View/Todo List/Hide Items that are past due"))),settings.hide_due);
-	*/
-	gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, N_("/View/Hide Items that Are Past Due Date"))),settings.hide_due);
-	category_changed();
-}
-
-static void  pref_gconf_changed_hide_nodate(GConfClient *client)
-{
-	settings.hide_nodate = gconf_client_get_bool(client, /* "/schemas*/"/apps/gtodo/prefs/hide-nodate",NULL);
-	/*//    gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, _("/View/Todo List/Hide Items without an end date"))), settings.hide_nodate);
-	*/
-	gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtk_item_factory_get_widget(mw.item_factory, N_("/View/Hide Items Without an End Date"))), settings.hide_nodate);
-	category_changed();
-}    
+#endif 
 
 static void  pref_gconf_changed_hl_today(GConfClient *client)
 {
@@ -484,28 +445,7 @@
 			(GConfClientNotifyFunc) pref_gconf_changed_auto_purge,
 			NULL,
 			NULL, NULL);
-	gconf_client_notify_add(client,"/apps/gtodo/prefs/hide-done",
-			(GConfClientNotifyFunc) pref_gconf_changed_hide_done,
-			NULL,
-			NULL, NULL);
-	gconf_client_notify_add(client,"/apps/gtodo/prefs/hide-nodate",
-			(GConfClientNotifyFunc) pref_gconf_changed_hide_nodate,
-			NULL,
-			NULL, NULL);
-	gconf_client_notify_add(client,"/apps/gtodo/prefs/hide-due",
-			(GConfClientNotifyFunc) pref_gconf_changed_hide_due,
-			NULL,
-			NULL, NULL);
-	gconf_client_notify_add(client,"/apps/gtodo/prefs/sort-type",
-			(GConfClientNotifyFunc) pref_gconf_changed_sort_type,
-			NULL,
-			NULL, NULL);
-
-	gconf_client_notify_add(client,"/apps/gtodo/prefs/sort-order",
-			(GConfClientNotifyFunc) pref_gconf_changed_sort_order,
-			NULL,
-			NULL, NULL);	
-
+	
 	gconf_client_notify_add(client,"/apps/gtodo/prefs/hl-today",
 			(GConfClientNotifyFunc) pref_gconf_changed_hl_today,
 			NULL,

Modified: trunk/plugins/search/anjuta-search.glade
==============================================================================
--- trunk/plugins/search/anjuta-search.glade	(original)
+++ trunk/plugins/search/anjuta-search.glade	Wed Jan 16 13:19:33 2008
@@ -799,7 +799,7 @@
 				  <child>
 				    <widget class="GtkComboBoxEntry" id="file.filter.match.combo">
 				      <property name="visible">True</property>
-				      <property name="items" translatable="yes">*\.*
+				      <property name="items" translatable="no">*\.*
 *.c *.cpp *.cxx *.cc *.C *.h *.H *.hh *.hxx *.hpp
 *.cpp *.cxx *.cc *.C *.h *.H *.hh *.hxx *.hpp Makefile.am configure.* README AUTHORS ChangeLog *.m4</property>
 				      <property name="add_tearoffs">False</property>
@@ -818,7 +818,7 @@
 				  <child>
 				    <widget class="GtkComboBoxEntry" id="file.filter.unmatch.combo">
 				      <property name="visible">True</property>
-				      <property name="items" translatable="yes">*.so *.o *.a *.la
+				      <property name="items" translatable="no">*.so *.o *.a *.la
 </property>
 				      <property name="add_tearoffs">False</property>
 				      <property name="has_frame">True</property>
@@ -852,7 +852,7 @@
 				  <child>
 				    <widget class="GtkComboBoxEntry" id="dir.filter.unmatch.combo">
 				      <property name="visible">True</property>
-				      <property name="items" translatable="yes">
+				      <property name="items" translatable="no">
 CVS
 CVS intl po </property>
 				      <property name="add_tearoffs">False</property>
@@ -911,7 +911,7 @@
 			      <child>
 				<widget class="GtkComboBoxEntry" id="search.var.combo">
 				  <property name="visible">True</property>
-				  <property name="items" translatable="yes">
+				  <property name="items" translatable="no">
 $(module.source.files) $(module.include.files)</property>
 				  <property name="add_tearoffs">False</property>
 				  <property name="has_frame">True</property>

Modified: trunk/plugins/subversion/anjuta-subversion.glade
==============================================================================
--- trunk/plugins/subversion/anjuta-subversion.glade	(original)
+++ trunk/plugins/subversion/anjuta-subversion.glade	Wed Jan 16 13:19:33 2008
@@ -16,7 +16,7 @@
         <child>
           <widget class="GtkLabel" id="label32">
             <property name="visible">True</property>
-            <property name="label" translatable="yes">TODO!</property>
+            <property name="label" translatable="no">TODO!</property>
           </widget>
         </child>
         <child>
@@ -186,7 +186,7 @@
     <property name="width_request">550</property>
     <property name="visible">True</property>
     <property name="border_width">10</property>
-    <property name="title" translatable="yes">Subversion: Remove file/directory</property>
+    <property name="title" translatable="yes">Remove file/directory</property>
     <property name="resizable">False</property>
     <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
     <child internal-child="vbox">
@@ -378,7 +378,7 @@
   <widget class="GtkDialog" id="subversion_update">
     <property name="visible">True</property>
     <property name="border_width">10</property>
-    <property name="title" translatable="yes">Subversion: Update file/directory</property>
+    <property name="title" translatable="yes">Update file/directory</property>
     <property name="resizable">False</property>
     <property name="default_width">400</property>
     <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
@@ -572,7 +572,7 @@
   <widget class="GtkDialog" id="subversion_diff">
     <property name="visible">True</property>
     <property name="border_width">10</property>
-    <property name="title" translatable="yes">Subversion: Diff file/directory</property>
+    <property name="title" translatable="yes">Diff file/directory</property>
     <property name="default_width">400</property>
     <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
     <child internal-child="vbox">
@@ -1050,7 +1050,7 @@
     <property name="height_request">400</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="border_width">5</property>
-    <property name="title" translatable="yes">Subversion: Revert Changes</property>
+    <property name="title" translatable="yes">Revert Changes</property>
     <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
     <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
     <property name="has_separator">False</property>
@@ -1787,7 +1787,7 @@
     <property name="width_request">550</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="border_width">5</property>
-    <property name="title" translatable="yes">Subversion: Copy files/folders</property>
+    <property name="title" translatable="yes">Copy files/folders</property>
     <property name="resizable">False</property>
     <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
     <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
@@ -2111,7 +2111,7 @@
     <property name="width_request">500</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="border_width">5</property>
-    <property name="title" translatable="yes">Subversion: Switch to branch/tag</property>
+    <property name="title" translatable="yes">Switch to branch/tag</property>
     <property name="resizable">False</property>
     <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
     <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
@@ -2381,7 +2381,7 @@
     <property name="width_request">550</property>
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="border_width">5</property>
-    <property name="title" translatable="yes">Subversion: Merge changes into working copy</property>
+    <property name="title" translatable="yes">Merge changes into working copy</property>
     <property name="resizable">False</property>
     <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
     <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>

Modified: trunk/plugins/tools/anjuta-tools.glade
==============================================================================
--- trunk/plugins/tools/anjuta-tools.glade	(original)
+++ trunk/plugins/tools/anjuta-tools.glade	Wed Jan 16 13:19:33 2008
@@ -237,7 +237,7 @@
                   <widget class="GtkCheckButton" id="script_checkbox">
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
-                    <property name="tooltip" translatable="yes">Edit command in Anjuta on close</property>
+                    <property name="tooltip" translatable="yes">Edit command is script in Anjuta on close</property>
                     <property name="label" translatable="yes">Edit as script</property>
                     <property name="use_underline">True</property>
                     <property name="response_id">0</property>

Modified: trunk/src/anjuta-app.c
==============================================================================
--- trunk/src/anjuta-app.c	(original)
+++ trunk/src/anjuta-app.c	Wed Jan 16 13:19:33 2008
@@ -626,7 +626,7 @@
 										G_N_ELEMENTS (menu_entries_view),
 										GETTEXT_PACKAGE, TRUE, app);
 	anjuta_ui_add_toggle_action_group_entries (app->ui, "ActionGroupToggleView",
-										_("Toggle View"),
+										_("View"),
 										menu_entries_toggle_view,
 										G_N_ELEMENTS (menu_entries_toggle_view),
 										GETTEXT_PACKAGE, TRUE, app);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]