diff options
Diffstat (limited to 'preferred-apps.patch')
-rw-r--r-- | preferred-apps.patch | 93 |
1 files changed, 51 insertions, 42 deletions
diff --git a/preferred-apps.patch b/preferred-apps.patch index 0664b59..89357af 100644 --- a/preferred-apps.patch +++ b/preferred-apps.patch @@ -1,27 +1,34 @@ -diff -up gnome-panel-2.19.92/gnome-panel/panel-run-dialog.h.preferred-apps gnome-panel-2.19.92/gnome-panel/panel-run-dialog.h ---- gnome-panel-2.19.92/gnome-panel/panel-run-dialog.h.preferred-apps 2007-09-04 13:34:26.000000000 -0400 -+++ gnome-panel-2.19.92/gnome-panel/panel-run-dialog.h 2007-09-10 13:22:09.000000000 -0400 -@@ -32,6 +32,8 @@ G_BEGIN_DECLS - void panel_run_dialog_present (GdkScreen *screen, - guint32 activate_time); +diff -up gnome-panel-2.21.91/gnome-panel/main.c.preferred-apps gnome-panel-2.21.91/gnome-panel/main.c +--- gnome-panel-2.21.91/gnome-panel/main.c.preferred-apps 2008-02-11 16:15:47.000000000 -0500 ++++ gnome-panel-2.21.91/gnome-panel/main.c 2008-02-13 20:44:49.000000000 -0500 +@@ -26,6 +26,7 @@ + #include "panel-action-protocol.h" + #include "panel-lockdown.h" + #include "panel-icon-names.h" ++#include "launcher.h" + #include "xstuff.h" -+GSList *get_all_applications (void); -+ - G_END_DECLS + #include "nothing.cP" +@@ -81,6 +82,7 @@ main (int argc, char **argv) + GCONF_CLIENT_PRELOAD_NONE, + NULL); - #endif /* __PANEL_RUN_DIALOG_H__ */ -diff -up gnome-panel-2.19.92/gnome-panel/launcher.c.preferred-apps gnome-panel-2.19.92/gnome-panel/launcher.c ---- gnome-panel-2.19.92/gnome-panel/launcher.c.preferred-apps 2007-09-10 13:22:09.000000000 -0400 -+++ gnome-panel-2.19.92/gnome-panel/launcher.c 2007-09-10 13:24:09.000000000 -0400 -@@ -22,6 +22,7 @@ ++ panel_preferred_apps_init (); + panel_global_config_load (); + panel_lockdown_init (); + panel_profile_load (); +diff -up gnome-panel-2.21.91/gnome-panel/launcher.c.preferred-apps gnome-panel-2.21.91/gnome-panel/launcher.c +--- gnome-panel-2.21.91/gnome-panel/launcher.c.preferred-apps 2008-02-13 20:44:49.000000000 -0500 ++++ gnome-panel-2.21.91/gnome-panel/launcher.c 2008-02-13 20:44:49.000000000 -0500 +@@ -23,6 +23,7 @@ + #include <libgnome/gnome-util.h> #include <libgnomeui/gnome-url.h> - #include <libgnomevfs/gnome-vfs.h> #include <gdk/gdkx.h> +#include <gmenu-tree.h> #include "launcher.h" -@@ -39,6 +40,7 @@ +@@ -40,6 +41,7 @@ #include "panel-compatibility.h" #include "panel-ditem-editor.h" #include "panel-icon-names.h" @@ -29,7 +36,7 @@ diff -up gnome-panel-2.19.92/gnome-panel/launcher.c.preferred-apps gnome-panel-2 static GdkScreen * launcher_get_screen (Launcher *launcher) -@@ -1284,3 +1286,173 @@ panel_launcher_set_dnd_enabled (Launcher +@@ -1299,3 +1301,173 @@ panel_launcher_set_dnd_enabled (Launcher } else gtk_drag_source_unset (launcher->button); } @@ -203,10 +210,19 @@ diff -up gnome-panel-2.19.92/gnome-panel/launcher.c.preferred-apps gnome-panel-2 + filename, g_free, NULL); + } +} -diff -up gnome-panel-2.19.92/gnome-panel/launcher.h.preferred-apps gnome-panel-2.19.92/gnome-panel/launcher.h ---- gnome-panel-2.19.92/gnome-panel/launcher.h.preferred-apps 2007-09-10 13:22:09.000000000 -0400 -+++ gnome-panel-2.19.92/gnome-panel/launcher.h 2007-09-10 13:22:09.000000000 -0400 -@@ -75,6 +75,7 @@ void launcher_properties_dest +diff -up gnome-panel-2.21.91/gnome-panel/launcher.h.preferred-apps gnome-panel-2.21.91/gnome-panel/launcher.h +--- gnome-panel-2.21.91/gnome-panel/launcher.h.preferred-apps 2008-02-13 20:44:49.000000000 -0500 ++++ gnome-panel-2.21.91/gnome-panel/launcher.h 2008-02-13 20:45:58.000000000 -0500 +@@ -14,6 +14,8 @@ + #include "applet.h" + #include "panel-widget.h" + ++#include <gio/gio.h> ++ + G_BEGIN_DECLS + + #define PANEL_LAUNCHERS_PATH "panel2.d/default/launchers" +@@ -73,6 +75,7 @@ void launcher_properties_dest void panel_launcher_set_dnd_enabled (Launcher *launcher, gboolean dnd_enabled); @@ -214,29 +230,22 @@ diff -up gnome-panel-2.19.92/gnome-panel/launcher.h.preferred-apps gnome-panel-2 G_END_DECLS -diff -up gnome-panel-2.19.92/gnome-panel/main.c.preferred-apps gnome-panel-2.19.92/gnome-panel/main.c ---- gnome-panel-2.19.92/gnome-panel/main.c.preferred-apps 2007-09-04 13:34:26.000000000 -0400 -+++ gnome-panel-2.19.92/gnome-panel/main.c 2007-09-10 13:22:09.000000000 -0400 -@@ -26,6 +26,7 @@ - #include "panel-action-protocol.h" - #include "panel-lockdown.h" - #include "panel-icon-names.h" -+#include "launcher.h" - #include "xstuff.h" +diff -up gnome-panel-2.21.91/gnome-panel/panel-run-dialog.h.preferred-apps gnome-panel-2.21.91/gnome-panel/panel-run-dialog.h +--- gnome-panel-2.21.91/gnome-panel/panel-run-dialog.h.preferred-apps 2008-02-11 16:15:47.000000000 -0500 ++++ gnome-panel-2.21.91/gnome-panel/panel-run-dialog.h 2008-02-13 20:44:49.000000000 -0500 +@@ -32,6 +32,8 @@ G_BEGIN_DECLS + void panel_run_dialog_present (GdkScreen *screen, + guint32 activate_time); - #include "nothing.cP" -@@ -81,6 +82,7 @@ main (int argc, char **argv) - GCONF_CLIENT_PRELOAD_NONE, - NULL); ++GSList *get_all_applications (void); ++ + G_END_DECLS -+ panel_preferred_apps_init (); - panel_global_config_load (); - panel_lockdown_init (); - panel_profile_load (); -diff -up gnome-panel-2.19.92/gnome-panel/panel-run-dialog.c.preferred-apps gnome-panel-2.19.92/gnome-panel/panel-run-dialog.c ---- gnome-panel-2.19.92/gnome-panel/panel-run-dialog.c.preferred-apps 2007-09-04 13:34:26.000000000 -0400 -+++ gnome-panel-2.19.92/gnome-panel/panel-run-dialog.c 2007-09-10 13:22:09.000000000 -0400 -@@ -813,7 +813,7 @@ get_all_applications_from_dir (GMenuTree + #endif /* __PANEL_RUN_DIALOG_H__ */ +diff -up gnome-panel-2.21.91/gnome-panel/panel-run-dialog.c.preferred-apps gnome-panel-2.21.91/gnome-panel/panel-run-dialog.c +--- gnome-panel-2.21.91/gnome-panel/panel-run-dialog.c.preferred-apps 2008-02-11 16:15:47.000000000 -0500 ++++ gnome-panel-2.21.91/gnome-panel/panel-run-dialog.c 2008-02-13 20:44:49.000000000 -0500 +@@ -816,7 +816,7 @@ get_all_applications_from_dir (GMenuTree return list; } |