diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-19 23:16:24 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-19 23:16:24 +0000 |
commit | fcb21a7cbb9a0f7061e137c4541be07a721bd536 (patch) | |
tree | c04505c529fc134cd13dcee47d09bda4e0a57a85 /audio/lindele/files/patch-src::gui.c | |
parent | Update: security/osiris 4.0.6 -> 4.0.8 (diff) |
- Update to 0.1.1
PR: ports/76386
Submitted by: Jean-Yves Lefort <jylefort@brutele.be> (maintainer)
Notes
Notes:
svn path=/head/; revision=126875
Diffstat (limited to '')
-rw-r--r-- | audio/lindele/files/patch-src::gui.c | 60 |
1 files changed, 7 insertions, 53 deletions
diff --git a/audio/lindele/files/patch-src::gui.c b/audio/lindele/files/patch-src::gui.c index c28390fa30d6..794d1f856b1d 100644 --- a/audio/lindele/files/patch-src::gui.c +++ b/audio/lindele/files/patch-src::gui.c @@ -1,56 +1,10 @@ ---- src/gui.c.orig Mon Jul 26 22:14:52 2004 -+++ src/gui.c Tue Jul 27 00:47:21 2004 -@@ -26,6 +26,7 @@ +--- src/gui.c.orig Tue Jan 18 02:32:02 2005 ++++ src/gui.c Tue Jan 18 02:32:04 2005 +@@ -303,7 +303,6 @@ - void on_about_activate(GtkMenuItem *menu, Lindele *l) + gboolean on_tree_popup_menu (GtkWidget *widget) { -+ l->about = do_about(); - gtk_widget_show (GTK_WIDGET(l->about)); +- g_printf("got popup-menu signal\n"); + popup_context_menu(widget,NULL); + return TRUE; } - -@@ -130,14 +131,14 @@ - - void on_properties_activate (GtkWidget *menu, Lindele *l) - { -- if(g_file_test(g_find_program_in_path("musicbox"),G_FILE_TEST_IS_EXECUTABLE)) -+ if(g_file_test(g_find_program_in_path("musicbox-tag-editor"),G_FILE_TEST_IS_EXECUTABLE)) - { -- g_printf("EXECUTE: %s\n",g_strconcat("musicbox \"",playlist_get_current_filepath(l),"\"",NULL)); -- gnome_execute_shell(NULL,g_strconcat("musicbox \"",playlist_get_current_filepath(l),"\"",NULL)); -+ g_printf("EXECUTE: %s\n",g_strconcat("musicbox-tag-editor \"",playlist_get_current_filepath(l),"\"",NULL)); -+ gnome_execute_shell(NULL,g_strconcat("musicbox-tag-editor \"",playlist_get_current_filepath(l),"\"",NULL)); - } - else - { -- g_printf("musicbox is not installed on your system\n."); -+ g_printf("musicbox-tag-editor is not installed on your system\n."); - } - } - -@@ -385,13 +386,15 @@ - { - GtkTreeViewColumn *column; - GtkCellRenderer *cellrenderer; -+ gchar* gladepath; - - l->mmkeys = mmkeys_new(); - l->player = init_player(); -- l->about = do_about(); - l->playlist_num = 0; -+ l->random = FALSE; -+ l->repeat = FALSE; - -- gchar* gladepath = g_strconcat(DATADIR,"/lindele/lindele.glade",NULL); -+ gladepath = g_strconcat(DATADIR,"/lindele/lindele.glade",NULL); - //gchar* gladepath = g_strconcat("/home/link/Hacking/lindele/lindele-work/data/lindele.glade",NULL); - - l->xml = glade_xml_new (gladepath, NULL, NULL); -@@ -468,7 +471,7 @@ - - /* Disable the preferences, since its not implemented. */ - gtk_widget_set_sensitive(GTK_WIDGET(glade_xml_get_widget(l->xml,"m_preferences")),FALSE); -- if(! g_file_test(g_find_program_in_path("musicbox"),G_FILE_TEST_IS_EXECUTABLE)) -+ if(! g_file_test(g_find_program_in_path("musicbox-tag-editor"),G_FILE_TEST_IS_EXECUTABLE)) - gtk_widget_set_sensitive(GTK_WIDGET(glade_xml_get_widget(l->xml,"m_properties")),FALSE); - - update_buttons(l); |