[Goodies-commits] r2908 - in xfce4-places-plugin/branches/umount: . panel-plugin po

Diego Ongaro ongardie at xfce.org
Fri Jul 13 07:02:00 CEST 2007


Author: ongardie
Date: 2007-07-13 05:02:00 +0000 (Fri, 13 Jul 2007)
New Revision: 2908

Added:
   xfce4-places-plugin/branches/umount/po/nb_NO.po
Modified:
   xfce4-places-plugin/branches/umount/ChangeLog
   xfce4-places-plugin/branches/umount/panel-plugin/cfg.c
   xfce4-places-plugin/branches/umount/panel-plugin/cfg.h
   xfce4-places-plugin/branches/umount/panel-plugin/model.c
   xfce4-places-plugin/branches/umount/panel-plugin/model.h
   xfce4-places-plugin/branches/umount/panel-plugin/model_system.c
   xfce4-places-plugin/branches/umount/panel-plugin/model_user.c
   xfce4-places-plugin/branches/umount/panel-plugin/model_volumes.c
   xfce4-places-plugin/branches/umount/panel-plugin/places.c
   xfce4-places-plugin/branches/umount/panel-plugin/places.h
   xfce4-places-plugin/branches/umount/panel-plugin/view.c
   xfce4-places-plugin/branches/umount/po/ChangeLog
   xfce4-places-plugin/branches/umount/po/LINGUAS
Log:
2007-07-12	Diego Ongaro <ongardie at gmail.com>

* unmount branch: ported changes from trunk (r2785-r2907)



Modified: xfce4-places-plugin/branches/umount/ChangeLog
===================================================================
--- xfce4-places-plugin/branches/umount/ChangeLog	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/ChangeLog	2007-07-13 05:02:00 UTC (rev 2908)
@@ -1,5 +1,6 @@
 2007-07-12	Diego Ongaro <ongardie at gmail.com>
 
+	* unmount branch: ported changes from trunk (r2785-r2907)
 	* unmount branch: Cleaned up places.c, view.c, model_volumes.c
 
 2007-06-04	Diego Ongaro <ongardie at gmail.com>

Modified: xfce4-places-plugin/branches/umount/panel-plugin/cfg.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/cfg.c	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/cfg.c	2007-07-13 05:02:00 UTC (rev 2908)
@@ -72,6 +72,7 @@
     cfg->show_recent_clear  = TRUE;
     cfg->show_recent_number = 10;
 #endif
+    cfg->search_cmd         = NULL;
 
     if(cfg->label != NULL)
         g_free(cfg->label);
@@ -96,6 +97,8 @@
 {
     if(pd->cfg->label != NULL)
         g_free(pd->cfg->label);
+    if(pd->cfg->search_cmd != NULL)
+        g_free(pd->cfg->search_cmd);
 }
 
 /********** Configuration File **********/
@@ -140,6 +143,8 @@
         cfg->label = _("Places");
     cfg->label = g_strdup(cfg->label);
 
+    cfg->search_cmd = g_strdup(xfce_rc_read_entry(rcfile, "search_cmd", NULL));
+
 #if USE_RECENT_DOCUMENTS
     cfg->show_recent    = xfce_rc_read_bool_entry(rcfile, "show_recent", TRUE);
     cfg->show_recent_clear = xfce_rc_read_bool_entry(rcfile, "show_recent_clear", TRUE);
@@ -185,6 +190,8 @@
     xfce_rc_write_int_entry(rcfile, "show_recent_number", cfg->show_recent_number);
 #endif
 
+    xfce_rc_write_entry(rcfile, "search_cmd", cfg->search_cmd);
+
     xfce_rc_close(rcfile);
 
     DBG("configuration saved");
@@ -269,6 +276,23 @@
     return FALSE;
 }
 
+static gboolean
+places_cfg_search_cmd_cb(GtkWidget *label_entry, GdkEventFocus *event, PlacesData *pd)
+{
+    if(pd->cfg->search_cmd != NULL)
+        g_free(pd->cfg->search_cmd);
+    
+    pd->cfg->search_cmd = g_strstrip(g_strdup(gtk_entry_get_text(GTK_ENTRY(label_entry))));
+    if(*(pd->cfg->search_cmd) == '\0'){
+        g_free(pd->cfg->search_cmd);
+        pd->cfg->search_cmd = NULL;
+    }
+
+    places_view_destroy_menu(pd);
+
+    return FALSE;
+}
+
 #if USE_RECENT_DOCUMENTS
 static void
 places_cfg_recent_num_cb(GtkAdjustment *adj, PlacesData *pd)
@@ -320,6 +344,7 @@
 #if USE_RECENT_DOCUMENTS
     GtkWidget *frame_recent, *vbox_recent;
 #endif
+    GtkWidget *frame_search, *vbox_search;
 
     GtkWidget *tmp_box, *tmp_label, *tmp_widget;
     gint active;
@@ -488,6 +513,32 @@
     gtk_box_pack_start(GTK_BOX(tmp_box), tmp_widget, FALSE, FALSE, 0);
 #endif
 
+    // Search: frame, vbox
+    vbox_search = gtk_vbox_new(FALSE, 4);
+    gtk_widget_show(vbox_search);
+    
+    frame_search = xfce_create_framebox_with_content(_("Search"), vbox_search);
+    gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dlg)->vbox), frame_search, FALSE, FALSE, 0);
+
+    // Search: command
+    tmp_box = gtk_hbox_new(FALSE, 15);
+    gtk_widget_show(tmp_box);
+    gtk_box_pack_start(GTK_BOX(vbox_search), tmp_box, FALSE, FALSE, 0);
+    
+    tmp_label = gtk_label_new_with_mnemonic(_("Co_mmand"));
+    gtk_widget_show(tmp_label);
+    gtk_box_pack_start(GTK_BOX(tmp_box), tmp_label, FALSE, FALSE, 0);
+
+    tmp_widget = gtk_entry_new();
+    gtk_label_set_mnemonic_widget(GTK_LABEL(tmp_label), tmp_widget);
+    gtk_entry_set_text(GTK_ENTRY(tmp_widget), cfg->search_cmd);
+
+    g_signal_connect(G_OBJECT(tmp_widget), "focus-out-event",
+                     G_CALLBACK(places_cfg_search_cmd_cb), pd);
+
+    gtk_widget_show(tmp_widget);
+    gtk_box_pack_start(GTK_BOX(tmp_box), tmp_widget, FALSE, FALSE, 0);
+
     gtk_widget_show(dlg);
 }
 

Modified: xfce4-places-plugin/branches/umount/panel-plugin/cfg.h
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/cfg.h	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/cfg.h	2007-07-13 05:02:00 UTC (rev 2908)
@@ -34,6 +34,7 @@
   gboolean           show_recent;
   gboolean           show_recent_clear;
   gint               show_recent_number;
+  gchar             *search_cmd;
 } PlacesConfig;
 
 // Init & Finalize

Modified: xfce4-places-plugin/branches/umount/panel-plugin/model.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/model.c	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/model.c	2007-07-13 05:02:00 UTC (rev 2908)
@@ -119,6 +119,29 @@
 }
 
 void
+places_bookmark_info_free(BookmarkInfo *bi)
+{
+    if(bi->label != NULL){
+        g_free(bi->label);
+        bi->label = NULL;
+    }
+    if(bi->uri != NULL){
+        g_free(bi->uri);
+        bi->uri = NULL;
+    }
+    if(bi->icon != NULL){
+        g_free(bi->icon);
+        bi->icon = NULL;
+    }
+    if(bi->data != NULL){
+        DBG("WARNING: data != NULL. Caller is in charge of freeing data");
+        bi->data = NULL;
+    }
+
+    g_free(bi);
+}
+
+void
 places_bookmark_actions_list_destroy(GSList *actions)
 {
     if(actions != NULL){

Modified: xfce4-places-plugin/branches/umount/panel-plugin/model.h
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/model.h	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/model.h	2007-07-13 05:02:00 UTC (rev 2908)
@@ -22,15 +22,21 @@
 
 #include <glib.h>
 
+// Bookmark Info
+
 typedef struct
 {
     gchar           *label;
     gchar           *uri;
     gchar           *icon;
     gboolean         show;
-    gpointer        *data;
+    gpointer         data;
 } BookmarkInfo;
 
+void
+places_bookmark_info_free(BookmarkInfo*);
+
+
 typedef struct
 {
     gchar       *label;

Modified: xfce4-places-plugin/branches/umount/panel-plugin/model_system.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/model_system.c	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/model_system.c	2007-07-13 05:02:00 UTC (rev 2908)
@@ -24,19 +24,24 @@
 #include "model_system.h"
 #include "model.h"
 #include <libxfce4util/libxfce4util.h>
-#include <string.h>
+#define EXO_API_SUBJECT_TO_CHANGE
+#include <exo/exo.h>
+#include <thunar-vfs/thunar-vfs.h>
 
 #define bookmarks_system_check_existence data
 
 struct _BookmarksSystem
 {
     GPtrArray *bookmarks;
+    ThunarVfsPath *trash_path;
 };
 
 
 BookmarksSystem*
 places_bookmarks_system_init()
 {
+    thunar_vfs_init();
+
     BookmarksSystem *b = g_new0(BookmarksSystem, 1);
 
     BookmarkInfo *bookmark;
@@ -57,9 +62,18 @@
 
     // Trash
     bookmark = g_new0(BookmarkInfo, 1);
+
     bookmark->label = g_strdup(_("Trash"));
     bookmark->uri = g_strdup("trash:///");
-    bookmark->icon = g_strdup("gnome-fs-trash-full");
+
+    b->trash_path = thunar_vfs_path_get_for_trash();
+
+    ThunarVfsInfo *trash_info = thunar_vfs_info_new_for_path(b->trash_path, NULL);
+    bookmark->icon = g_strdup(trash_info->custom_icon);
+    if(bookmark->icon == NULL)
+        bookmark->icon = g_strdup("gnome-fs-trash-full");
+    thunar_vfs_info_unref(trash_info);
+
     bookmark->show = TRUE;
     bookmark->bookmarks_system_check_existence = NULL;
     g_ptr_array_add(b->bookmarks, bookmark);
@@ -99,7 +113,17 @@
             ret = TRUE;
         }
     }
-    
+
+    // see if trash gets a different icon (e.g., was empty, now full)
+    bi = g_ptr_array_index(b->bookmarks, 1);
+    ThunarVfsInfo *trash_info = thunar_vfs_info_new_for_path(b->trash_path, NULL);
+    if(trash_info->custom_icon != NULL && !exo_str_is_equal(trash_info->custom_icon, bi->icon)){
+        g_free(bi->icon);
+        bi->icon = g_strdup(trash_info->custom_icon);
+        ret = TRUE;
+    }
+    thunar_vfs_info_unref(trash_info);
+
     return ret;
 }
 
@@ -117,10 +141,23 @@
     }
 }
 
+static void
+places_bookmarks_system_clear_bi_data(BookmarkInfo *bi)
+{
+    bi->data = NULL;
+}
+
 void
 places_bookmarks_system_finalize(BookmarksSystem *b)
 {
+    g_ptr_array_foreach(b->bookmarks, (GFunc) places_bookmarks_system_clear_bi_data, NULL);
+    g_ptr_array_foreach(b->bookmarks, (GFunc) places_bookmark_info_free, NULL);
     g_ptr_array_free(b->bookmarks, TRUE);
+    b->bookmarks = NULL;
+
+    thunar_vfs_path_unref(b->trash_path);
+    thunar_vfs_shutdown();
+    
     g_free(b);
 }
 
@@ -139,7 +176,7 @@
     gchar   *default_label;
     
     default_label    = g_filename_display_basename(other->uri);
-    label_is_default = (strcmp(default_label, other->label) == 0);
+    label_is_default = exo_str_is_equal(default_label, other->label);
     g_free(default_label);
 
     BookmarkInfo *bi;
@@ -147,11 +184,11 @@
     for(k=0; k < b->bookmarks->len; k++){
         bi = g_ptr_array_index(b->bookmarks, k);
 
-        if(G_UNLIKELY(strcmp(other->uri, bi->uri) == 0)){
+        if(G_UNLIKELY(exo_str_is_equal(other->uri, bi->uri))){
             g_free(other->icon);
             other->icon = g_strdup(bi->icon);
 
-            if(label_is_default && strcmp(other->label, bi->label) != 0){
+            if(label_is_default && !exo_str_is_equal(other->label, bi->label)){
                 g_free(other->label);
                 other->label = g_strdup(bi->label);
             }

Modified: xfce4-places-plugin/branches/umount/panel-plugin/model_user.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/model_user.c	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/model_user.c	2007-07-13 05:02:00 UTC (rev 2908)
@@ -143,6 +143,7 @@
     time_t mtime = places_bookmarks_user_get_mtime(b);
     
     if(mtime > b->loaded){
+        g_ptr_array_foreach(b->bookmarks, (GFunc) places_bookmark_info_free, NULL);
         g_ptr_array_free(b->bookmarks, TRUE);
         b->bookmarks = g_ptr_array_new();
         b->loaded = mtime;
@@ -182,6 +183,7 @@
 void
 places_bookmarks_user_finalize(BookmarksUser *b)
 {
+    g_ptr_array_foreach(b->bookmarks, (GFunc) places_bookmark_info_free, NULL);
     g_ptr_array_free(b->bookmarks, TRUE);
     b->bookmarks = NULL;
 

Modified: xfce4-places-plugin/branches/umount/panel-plugin/model_volumes.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/model_volumes.c	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/model_volumes.c	2007-07-13 05:02:00 UTC (rev 2908)
@@ -85,9 +85,9 @@
                 DBG("dropping volume from array");
                 
                 bi = g_ptr_array_remove_index(b->bookmarks, k);
-                g_object_unref(bi->data);
+                g_object_unref(bi->data); // unref the volume
                 bi->data = NULL;
-                g_free(bi);
+                places_bookmark_info_free(bi);
                 b->changed = TRUE;
             }
         }
@@ -128,11 +128,11 @@
                 bi = g_ptr_array_remove_index(b->bookmarks, k);
                 DBG("Removing bookmark %s", bi->label);
                 
-                if(bi->data != NULL){
+                if(bi->data != NULL){ // unref the volume
                     g_object_unref(bi->data);
                     bi->data = NULL;
                 }
-                g_free(bi);
+                places_bookmark_info_free(bi);
                 
                 b->changed = TRUE;
                 break;
@@ -242,17 +242,18 @@
 
     for(k = 0; k < b->bookmarks->len; k++){
         bi = g_ptr_array_remove_index(b->bookmarks, k);
-        if(bi->data != NULL){
+        if(bi->data != NULL){ // unref the volume
             g_object_unref(bi->data);
             bi->data = NULL;
         }
-        g_free(bi);
+        places_bookmark_info_free(bi);
     }
 
     g_object_unref(b->volume_manager);
     b->volume_manager = NULL;
     thunar_vfs_shutdown();
-
+    
+    g_ptr_array_foreach(b->bookmarks, (GFunc) places_bookmark_info_free, NULL);
     g_ptr_array_free(b->bookmarks, TRUE);
     b->bookmarks = NULL;
 

Modified: xfce4-places-plugin/branches/umount/panel-plugin/places.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/places.c	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/places.c	2007-07-13 05:02:00 UTC (rev 2908)
@@ -106,12 +106,12 @@
 
         gchar *cmd = g_strconcat("thunar \"", path, "\"", NULL);
         DBG("exec: %s", cmd);
-        xfce_exec(cmd, FALSE, TRUE, NULL);
+        places_gui_exec(cmd);
         g_free(cmd);
 
     }else{
         DBG("exec: thunar");
-        xfce_exec("thunar", FALSE, TRUE, NULL);
+        places_gui_exec("thunar");
     }
 }
 
@@ -150,4 +150,11 @@
     exo_url_show(path, NULL, NULL);
 }
 
+void
+places_gui_exec(const gchar *cmd)
+{
+    if(cmd != NULL)
+        xfce_exec(cmd, FALSE, TRUE, NULL);
+}
+
 // vim: ai et tabstop=4

Modified: xfce4-places-plugin/branches/umount/panel-plugin/places.h
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/places.h	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/places.h	2007-07-13 05:02:00 UTC (rev 2908)
@@ -54,6 +54,8 @@
 void places_load_thunar(const gchar *path);
 void places_load_terminal(const gchar *path);
 void places_load_file(const gchar *path);
+void places_gui_exec(const gchar *cmd);
 
+
 #endif
 // vim: ai et tabstop=4

Modified: xfce4-places-plugin/branches/umount/panel-plugin/view.c
===================================================================
--- xfce4-places-plugin/branches/umount/panel-plugin/view.c	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/panel-plugin/view.c	2007-07-13 05:02:00 UTC (rev 2908)
@@ -80,7 +80,6 @@
                                    const gchar *label, const gchar *uri, const gchar *icon, GSList *actions);
 static void     places_view_lazy_add_menu_sep(gpointer _places_data);
 
-
 /********** Initialization & Finalization **********/
 void
 places_view_init(PlacesData *pd)
@@ -214,11 +213,29 @@
 
     // Recent Documents
 #if USE_RECENT_DOCUMENTS
-    if(pd->cfg->show_recent){
-    
+    if(pd->cfg->show_recent || pd->cfg->search_cmd != NULL){
+#else
+    if(pd->cfg->search_cmd != NULL){
+#endif
         gtk_menu_shell_append(GTK_MENU_SHELL(pd->view_menu),
                               gtk_separator_menu_item_new());
-    
+    }
+
+    if(pd->cfg->search_cmd != NULL){
+        GtkWidget *search_item = gtk_image_menu_item_new_with_mnemonic(_("Search for Files"));
+        if(pd->cfg->show_icons){
+            GtkWidget *search_image = gtk_image_new_from_icon_name("system-search", GTK_ICON_SIZE_MENU);
+            gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(search_item), search_image);
+        }
+        gtk_menu_shell_append(GTK_MENU_SHELL(pd->view_menu), search_item);
+        g_signal_connect_swapped(search_item, "activate",
+                                 G_CALLBACK(places_gui_exec), pd->cfg->search_cmd);
+
+    }
+
+#if USE_RECENT_DOCUMENTS
+    if(pd->cfg->show_recent){
+
         recent_menu = gtk_recent_chooser_menu_new();
         gtk_recent_chooser_set_show_icons(GTK_RECENT_CHOOSER(recent_menu), pd->cfg->show_icons);
         gtk_recent_chooser_set_limit(GTK_RECENT_CHOOSER(recent_menu), pd->cfg->show_recent_number);

Modified: xfce4-places-plugin/branches/umount/po/ChangeLog
===================================================================
--- xfce4-places-plugin/branches/umount/po/ChangeLog	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/po/ChangeLog	2007-07-13 05:02:00 UTC (rev 2908)
@@ -0,0 +1,5 @@
+2007-07-08  Maximilian Schleiss <maximilian at xfce.org>
+
+	* nb_NO.po: Norwegian Bokmal translation added
+	by Terje Uriansrud <ter at operamail.com>
+

Modified: xfce4-places-plugin/branches/umount/po/LINGUAS
===================================================================
--- xfce4-places-plugin/branches/umount/po/LINGUAS	2007-07-13 04:10:33 UTC (rev 2907)
+++ xfce4-places-plugin/branches/umount/po/LINGUAS	2007-07-13 05:02:00 UTC (rev 2908)
@@ -1,2 +1,2 @@
 # set of available languages (in alphabetic order)
-ar be ca cs de dz el en_GB eo es et eu fi fr gl he hu it ja ka ko lt mk nl pa pl pt_BR ro ru sq sv tr uk zh_CN zh_TW
\ No newline at end of file
+ar be ca cs de dz el en_GB eo es et eu fi fr gl he hu it ja ka ko lt mk nb_NO nl pa pl pt_BR ro ru sq sv tr uk zh_CN zh_TW

Copied: xfce4-places-plugin/branches/umount/po/nb_NO.po (from rev 2907, xfce4-places-plugin/trunk/po/nb_NO.po)
===================================================================
--- xfce4-places-plugin/branches/umount/po/nb_NO.po	                        (rev 0)
+++ xfce4-places-plugin/branches/umount/po/nb_NO.po	2007-07-13 05:02:00 UTC (rev 2908)
@@ -0,0 +1,113 @@
+# Norwegian Bokmal translations for xfce4-places-plugin package.
+# Copyright (C) 2007 THE xfce4-places-plugin'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the xfce4-places-plugin package.
+# Terje Uriansrud <ter at operamail.com>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: xfce4-places-plugin 0.3.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-07-02 00:12+0200\n"
+"PO-Revision-Date: 2007-07-02 00:12+0200\n"
+"Last-Translator: Terje Uriansrud <ter at operamail.com>\n"
+"Language-Team: Norwegian Bokmal\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. vim: ai et tabstop=4
+#: ../panel-plugin/places.desktop.in.in.h:1
+msgid "Access folders, documents, and removable media"
+msgstr "Få tilgang til mapper, dokumenter og flyttbare media"
+
+#: ../panel-plugin/places.desktop.in.in.h:2 ../panel-plugin/cfg.c:79
+#: ../panel-plugin/cfg.c:143 ../panel-plugin/cfg.c:266
+#: ../panel-plugin/cfg.c:354
+msgid "Places"
+msgstr "Steder"
+
+#: ../panel-plugin/model_system.c:66
+msgid "Trash"
+msgstr "Papirkurv"
+
+#: ../panel-plugin/model_system.c:84
+msgid "Desktop"
+msgstr "Skrivebord"
+
+#: ../panel-plugin/model_system.c:92
+msgid "File System"
+msgstr "Filsystem"
+
+#: ../panel-plugin/view.c:225
+msgid "Search for Files"
+msgstr "Søk etter filer"
+
+#: ../panel-plugin/view.c:263 ../panel-plugin/cfg.c:481
+msgid "Recent Documents"
+msgstr "Nylig benyttede dokumenter"
+
+#: ../panel-plugin/cfg.c:370
+msgid "Button"
+msgstr "Knapp"
+
+#: ../panel-plugin/cfg.c:379
+msgid "_Show"
+msgstr "_Vis"
+
+#: ../panel-plugin/cfg.c:385
+msgid "Icon Only"
+msgstr "Vis ikon"
+
+#: ../panel-plugin/cfg.c:386
+msgid "Label Only"
+msgstr "Vis etikett"
+
+#: ../panel-plugin/cfg.c:387
+msgid "Icon and Label"
+msgstr "Ikon og etikett"
+
+#: ../panel-plugin/cfg.c:409
+msgid "_Label"
+msgstr "_Etikett"
+
+#: ../panel-plugin/cfg.c:427
+msgid "Menu"
+msgstr "Meny"
+
+#. MENU: Show Icons
+#: ../panel-plugin/cfg.c:431
+msgid "Show _icons in menu"
+msgstr "Vis _ikoner i menyen"
+
+#. MENU: Show Removable Media
+#: ../panel-plugin/cfg.c:443
+msgid "Show _removable media"
+msgstr "Vis _flyttbare media"
+
+#. MENU: Show GTK Bookmarks
+#: ../panel-plugin/cfg.c:454
+msgid "Show GTK _bookmarks"
+msgstr "Vis GTK _bokmerker"
+
+#. MENU: Show Recent Documents
+#: ../panel-plugin/cfg.c:467
+msgid "Show recent _documents"
+msgstr "Vis nylig benyttede _dokumenter"
+
+#. RECENT DOCUMENTS: Show clear option
+#: ../panel-plugin/cfg.c:485
+msgid "Show cl_ear option"
+msgstr "Vis valg for_resetting"
+
+#: ../panel-plugin/cfg.c:500
+msgid "_Number to display"
+msgstr "_Antall elementer"
+
+#: ../panel-plugin/cfg.c:520
+msgid "Search"
+msgstr "Søk"
+
+#: ../panel-plugin/cfg.c:528
+msgid "Co_mmand"
+msgstr "Ko_mmando"




More information about the Goodies-commits mailing list