[Goodies-commits] r3186 - in ristretto/trunk: po src
Stephan Arts
stephan at xfce.org
Sat Sep 8 15:56:05 CEST 2007
Author: stephan
Date: 2007-09-08 13:56:05 +0000 (Sat, 08 Sep 2007)
New Revision: 3186
Modified:
ristretto/trunk/po/de.po
ristretto/trunk/src/main.c
Log:
Fix a bug in german translation
Fix clear (should be both fast and usefull now)
Modified: ristretto/trunk/po/de.po
===================================================================
--- ristretto/trunk/po/de.po 2007-09-08 13:42:42 UTC (rev 3185)
+++ ristretto/trunk/po/de.po 2007-09-08 13:56:05 UTC (rev 3186)
@@ -101,7 +101,7 @@
#: ../src/main.c:764
msgid "Open image"
-msgstr "_Bild öffnen"
+msgstr "Bild öffnen"
#: ../src/main.c:800
msgid "Could not open file"
Modified: ristretto/trunk/src/main.c
===================================================================
--- ristretto/trunk/src/main.c 2007-09-08 13:42:42 UTC (rev 3185)
+++ ristretto/trunk/src/main.c 2007-09-08 13:56:05 UTC (rev 3186)
@@ -981,5 +981,14 @@
static void
cb_rstto_clear_recent(GtkWidget *widget, GtkRecentManager *manager)
{
- gtk_recent_manager_purge_items(manager, NULL);
+ GList *items = gtk_recent_manager_get_items(manager);
+ GList *iter = items;
+ while(iter)
+ {
+ if(gtk_recent_info_has_application(iter->data, "ristretto"))
+ {
+ gtk_recent_manager_remove_item(manager, gtk_recent_info_get_uri(iter->data), NULL);
+ }
+ iter = g_list_next(iter);
+ }
}
More information about the Goodies-commits
mailing list