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 authentication level.

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

Submitter:  -X- <maximi89>
Submitted:  Fri 05 Nov 2010 04:41:45 AM UTC
   
 
Category:  gui-gtk Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/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....

-X- <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>
Group 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);
     }

-X- <maximi89>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by strk (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-08-11 maximi89 Carbon-CopyRemoved 43424 -
    2010-11-05 maximi89 CategoryNone gui-gtk
    2010-11-05 maximi89 Attached File- Added gtkaddicon_for_add_window.patch, #21929

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code