After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 531215 - "open your flickr gallery in browser" button
"open your flickr gallery in browser" button
Status: RESOLVED OBSOLETE
Product: postr
Classification: Other
Component: General
0.12
Other Linux
: Normal enhancement
: ---
Assigned To: Postr Maintainers
Postr Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-03 11:42 UTC by Jakub 'Livio' Rusinek
Modified: 2021-05-17 16:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Open your flickr gallery with a button in main Postr's window (1.31 KB, patch)
2009-11-24 06:46 UTC, Juan Percy Rojas Cruz
none Details | Review
Open your flickr gallery with a button in main Postr's window (1.88 KB, patch)
2009-11-24 06:53 UTC, Juan Percy Rojas Cruz
none Details | Review
Open your flickr gallery with a button in main Postr's window or menu item in the menu bar "File" in the menu bar "File" (2.83 KB, patch)
2009-11-25 04:38 UTC, Juan Percy Rojas Cruz
none Details | Review
Open your flickr gallery with a menu item in the menu bar "Go" (2.66 KB, patch)
2009-11-26 04:32 UTC, Juan Percy Rojas Cruz
needs-work Details | Review
display a dialog after upload operation w/links to further actions (3.63 KB, patch)
2009-11-29 01:42 UTC, deignacio
none Details | Review

Description Jakub 'Livio' Rusinek 2008-05-03 11:42:52 UTC
I would like to see this button in main Postr's window to make my life comfortable (what an egoist :D ).
Comment 1 Juan Percy Rojas Cruz 2009-11-24 06:46:34 UTC
Created attachment 148371 [details] [review]
Open your flickr gallery with a button in main Postr's window

Open your flickr gallery with a button in main Postr's window
Comment 2 Juan Percy Rojas Cruz 2009-11-24 06:53:14 UTC
Created attachment 148373 [details] [review]
Open your flickr gallery with a button in main Postr's window

sorry, wrong file. I hope this time is the correct file =)
Comment 3 Juan Percy Rojas Cruz 2009-11-24 06:57:50 UTC
(In reply to comment #2)
> Created an attachment (id=148373) [details] [review]
> Open your flickr gallery with a button in main Postr's window
> 
> sorry, wrong file. I hope this time is the correct file =)

(In reply to comment #2)
> Created an attachment (id=148373) [details] [review]
> Open your flickr gallery with a button in main Postr's window
> 
> sorry, wrong file. I hope this time is the correct file =)
Comment 4 Francisco Rojas 2009-11-24 20:29:54 UTC
Review of attachment 148373 [details] [review]:

Thanks Juan for your work. 

I don't know if the button is in the best possition, IMHO is better add a menuitem in the menu bar like "Go" -> "Open Flickr Gallery" instead of a button.

::: src/postr.py
@@ -476,2 +477,4 @@
         self.update_statusbar()
-        
+    
+    def on_open_gallery(self, widget):
+    	url = "http://www.flickr.com/photos/" + self.flickr.username

The 'http://www.flickr.com/photos/' + username isn't necessary the url for the gallery. It should use self.flickr.get_nsid() instead
Comment 5 Juan Percy Rojas Cruz 2009-11-25 04:38:58 UTC
Created attachment 148430 [details] [review]
Open your flickr gallery with a button in main Postr's window or menu item in the menu bar "File" in the menu bar "File"

I think the button is fine but I added it as menu item in the menu bar "File" like add and remove item =)
Comment 6 Juan Percy Rojas Cruz 2009-11-26 04:32:35 UTC
Created attachment 148502 [details] [review]
Open your flickr gallery with a menu item in the menu bar "Go"

well, finally two friends said me that put this feature in the menu bar "Go", so I did it :P
Comment 7 Diego Escalante Urrelo (not reading bugmail) 2009-11-26 05:05:07 UTC
Review of attachment 148502 [details] [review]:

::: src/postr.glade
@@ +195,3 @@
+                        <property name="use_underline">True</property>
+                        <property name="use_stock">True</property>
+                        <signal name="activate" handler="on_open_gallery_activate"/>

Check if the menu item is meaningful enough for its icon to be always shown, I guess it's not that important. Remember the new default is to only enforce icons in menus for stuff that really needs it.
Try your patch with icons-in-menus disabled (see in preferences > appearance)

Label should be "Go to flickr gallery" or something, I'm unsure how flickr calls the /photos/username pages.

::: src/postr.py
@@ +480,3 @@
+    	url = "http://www.flickr.com/photos/" + self.flickr.get_nsid()
+    	gtk.show_uri(None, url, gtk.gdk.CURRENT_TIME)
+    

You can use gtk.get_current_event_time() instead of gtk.gdk.CURRENT_TIME.
And a minor nitpick: flickr calls itself flickr.com without the www I think.
Comment 8 deignacio 2009-11-29 01:42:30 UTC
Created attachment 148675 [details] [review]
display a dialog after upload operation w/links to further actions

I found that I wanted to view my photostream or visit flickr in general mostly just after an upload operation.  This patch includes a dialog after uploads complete (either successfully or w/a failure) with links to the organize most recent upload and view photostream pages.  I find that this also solves a small communication issue that I felt needed resolving, which was that the upload progress dialog would just disappear w/o any sort of finished response.
Comment 9 Germán Poo-Caamaño 2009-12-15 01:45:26 UTC
Review of attachment 148502 [details] [review]:

Diego made valid comments.  Please, update the patch with Diego's comments in mind.
Comment 10 GNOME Infrastructure Team 2021-05-17 16:15:40 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/postr/-/issues/4.