patchGnash - The GNU Flash player - Patches: patch #7373, Add Gnash icon to "Add...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #7373: Add Gnash icon to "Add File" window

Submitted by:  Maximiliano Castañón Araneda <maximi89>
Submitted on:  Fri 05 Nov 2010 04:41:45 AM UTC  
 
Category: gui-gtkPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Sat 06 Nov 2010 02:14:14 AM UTC, comment #2:

not sure why are that check there, anyway, that works for me, anyone can test and tell if the "else" option are used?
probably something doesn't work in old versions....

Maximiliano Castañón Araneda <maximi89>
Fri 05 Nov 2010 08:32:32 PM UTC, comment #1:

Is it intentional for this to be only in the
#if GTK_CHECK_VERSION(2,4,0)
block ?

Sandro Santilli <strk>
Project Member
Fri 05 Nov 2010 04:41:45 AM UTC, original submission:

diff --git a/gui/gtk/gtk.cpp b/gui/gtk/gtk.cpp
index 2fcc637..3c48a44 100644
--- a/gui/gtk/gtk.cpp
+++ b/gui/gtk/gtk.cpp
@@ -2526,7 +2523,7 @@ menuOpenFile(GtkMenuItem* /menuitem/, gpointer data)
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
NULL);
-
+ addGnashIcon (GTK_WINDOW(dialog));
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) {
openFile(dialog, gui);
}

Maximiliano Castañón Araneda <maximi89>

 

Attached Files
file #21929:  gtkaddicon_for_add_window.patch added by maximi89 (567B - text/x-diff - "Add File" GTK window Icon add)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by maximi89 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 Nov 2010 04:42:09 AM UTCmaximi89CategoryNone=>gui-gtk
    Fri 05 Nov 2010 04:41:46 AM UTCmaximi89Attached File-=>Added gtkaddicon_for_add_window.patch, #21929

    Back to the top


    Powered by Savane 3.1-cleanup