Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Use symbolic icons where appropriate #64

Closed
wants to merge 1,495 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

TingPing commented Apr 12, 2014

You might not agree with this change so I'd like your opnion.The Gnome HIG mentions how the majority of icons should be symbolic icons. They are much cleaner, obvious what they mean, and scale better. I only did the toolbar and playlist area, the file browser should probably use it too. Here is an example of what it looks like:

Example

matiasdelellis and others added some commits Aug 27, 2013

Always add a end separator to "pluging" menu actions..
Gtk remove duplicates, and separators that not have others elements..
Fix coverity defects: Resource leak (RESOURCE_LEAK)
NOTE: g_creat() return a file descriptor... that must be closed.
Now change the behavior to first start pragha with basic preferences (Setted as Gobject  properties).. Then g_file_set_contents can create the file when closing pragha.
First effoct to gobjectify PraghaLibraryPane.
Only work append, replace and replace & play options.. =)
Remove PraghaWindow. Complicating more than it solves..
TODO: From now on, functions as pragha_window_*  refer to widgets, and pragha_aplication_ * to intancias as preferences, or database.
Chiao pragha_window*(). Is useles..
Add pragha_application function to access to private memmers of cwin..
p.s: Almost everything to start the PraghaApplication GObject.. =)
pragha_application_quit() no need cwin!.
Move a pair of handlers..
Contributor

JohnDolittle commented on 410e81b Sep 22, 2013

(pragha:30297): Gtk-WARNING **: Rescan library: missing action Rescan library

(pragha:30297): Gtk-WARNING **: Update library: missing action Update library

Contributor

matiasdelellis replied Sep 22, 2013

Yes .. I know ..
Leave it, because have to change it to show the option on the library only, not radio or playlist.. and now thinking, if fix it, or remove these options.

Exept this, the GObject works well. So preferred start with PraghaPlaylist..

When finished this, just missing PraghaApplication.. Although PraghaPlaylist will demand me much time to do it right.. ;)

matiasdelellis added some commits Sep 22, 2013

pragha-playback: Removes path references. Does not have to know this!.
Try to return pixbuf updates... This fail!! :S
Fix pixbuf state in current playlist.
Again, playback does not have to participate in this!.
Restore Copy tags from playlist option..
TODO: Use the same "PLAYLIST_CHANGE_TAGS" signal when edit with tags dialog.

matiasdelellis added some commits Mar 19, 2014

Fix more folder separator.
Fix image mime-type on windows.
Fix distribute libraries.
Add icon to installer.
Not rename oxygen icon theme to hicolor.
Fix icons replaced with the builtin icons on gtk.
Fix translations on Windows.
More icons fixes.
Converts playing audio cd to a plugin.
INVESTIGATE HOW INTEGRATE PLUGINS TO PREFERENCES DIALOG!!!.
Not convert to uri album art.
Open web uris with Windows Api.
Intruduce PraghaMusicEnum, in order to extend PraghaMusicobject type dynamically.
Plugin can add own settings on Preferences dialog.
Test on notify and song-info plugins.
Remove audio preferences on Win32.
Hide empty preferences panes.
Move colection to first pane. It is much more important than the audio options!.
Always init preferences dialog on first tab.
Not destroy preferences dialog on "delete_event".
Converts Lastfm to a plugin.
No changes, no fixes!, and no tested!.
Force directsoundsink on windows.
Fix configure.ac to handle correctly cdrom plugin.
Fix make distcheck.
Simplifies win32/README instructions.
Use different timeout id to update now_playing and scrobble.
Check settings, status, file-type, title, artist and length before launch anything.
Protect playback started time and current song.
Append a copy of current song when update now playing and use them on scrobble.
Reduce track progress bar size.
Introduce PraghaTrackProgress, a simple extension of GtkProgressBar reducing their default size.
Fix loading album_art pixbuf on windows. (I have no idea why, but thi…
…s way works)

Remove old debug that print mime-type on windows.
Return a basic support to MOD files.
About three years ago, with the first changes to gstreamer wrote:
 * Lost Mod file support. Sorry.. but someone used it? In fact very easy to add support for this. Maybe fix it later.

Now on issue #58 requested it.. and here it is!. ;)
Convert the PraghaMusicEnum to be a Gbojcet
Add a singal to indicate when remove a Music type.
The idea is for example, remove the songs from playlist when a CD is removed.
Remove songs when remove handlers...
Written fast .. With c-n-p and only useful when disable plugins..
Split devices plugin:
devices: These only handle udev signals, and distribute these. (Hidden to final user)
mtp: Handle mtp devices when devices-plugin inform this.
removable: Handle removable devices when devices-plugin inform this.
cdrom: The same, but detect cdrom added and suggest append it

p.s: Why not replace all the above in a new FILE_LOCAL?
in consonance times it was important to identify between files, but now is irrelevant, and adds many useless comparisons.. 😕

matiasdelellis added some commits Apr 9, 2014

Show album arts in cache to all songs.. (If it has artist and album, …
…no matter where it comes!)

But search in folders only to local songs.
WIN32: Remove video plugins, and integrate codecs in the same installer.
Update win32/README to new instructions.

I got a 40 mb installer, but running just as soon as you install it. =)
Contributor

matiasdelellis commented on 5cbd2bc Apr 11, 2014

p.s: Already save around 120mb and still can improve the size using http://www.dependencywalker.com/ But it's a lot of work. Yesterday remove the most obvious and and now missing finer work!. ;)

Contributor

matiasdelellis commented Apr 15, 2014

Hey,
I like the symbolic icons, but I think it should be a user choice. Some people prefer the colors... (And i also many times use them)

The correct way should be that the user directly select their icons whether symbolic or colored (As always was and he should not have changed!!.), but we could add an option in the "Appearance" tab settings (Simil: "[x] Use symbolic icons in panel")

Maybe doing something like this in the future.

I insist that it should be responsibility of the designers, and therefore I will not change the icons to symbolic mandatory, (SORRY!.) but having the option would be interesting.

Again, leave the bug opened for investigate later. and please follow participating! ;)

Regards,
Matias.

JohnDolittle added a commit that referenced this pull request Apr 24, 2014

explicitly request non-symbolic GtkVolumeButton
default value was changed in GTK+ 3.12

ping issue #64
Contributor

matiasdelellis commented Apr 29, 2014

@TingPing
What do you think?

p.s: The icons in the playlist at least for now prefer to leave with color. ;)

Contributor

TingPing commented Apr 29, 2014

@matiasdelellis That works, though I think the playlist icons at least should always be symbolic.

Contributor

matiasdelellis commented Apr 29, 2014

Agree.. You is right in that it is more important, but it may be more difficult do it correctly (Mainly due to change the old error icons.)

Contributor

matiasdelellis commented Apr 29, 2014

ps.: But not will do it mandatory. There should be better way to do it.
For example, take the information from gtk_style_context_add_class () as the toolbar and the library makes to decorate properly. Icons should do the same, decorated according to the context!

And certainly, this that I am doing not is the best way, but prefer to give the option, rather than follow a strictest rule when I think it is not always are the best way.

p.s2.: The same applies to client-side-decoration. Make it mandatory was a completely erroneous decision.. lot more serious. 😞

Contributor

TingPing commented Apr 29, 2014

I can understand making the main play buttons an option, the size of them can make symbolic look.. less appealing, but for the playlist it makes absolutely no sense to not use symbolic imo.

Contributor

matiasdelellis commented Apr 29, 2014

but for the playlist it makes absolutely no sense to not use symbolic imo.

Why? An example?
The reason/pretext of symbolic items use, is display properly the icons in both dark and light themes. But in all tests that I did are displaying properly.
You will find some case, but it is so difficult, then the reasons lose ground. And if necessary, you can change the icon theme, that I think is the right way. In all desktops is thus exept gnome. (Ah. Also in windows. :)

I'll make the change in the playlist. But also optional. 😉

Contributor

TingPing commented May 12, 2014

JohnDolittle added a commit that referenced this pull request Jun 20, 2014

explicitly request non-symbolic GtkVolumeButton
default value was changed in GTK+ 3.12

ping issue #64

JohnDolittle added a commit that referenced this pull request Jun 20, 2014

explicitly request non-symbolic GtkVolumeButton
default value was changed in GTK+ 3.12

ping issue #64

JohnDolittle added a commit that referenced this pull request Jun 20, 2014

explicitly request non-symbolic GtkVolumeButton
default value was changed in GTK+ 3.12

ping issue #64

matiasdelellis added a commit that referenced this pull request Jul 25, 2014

Contributor

matiasdelellis commented Jul 25, 2014

Sorry.
I decided turn back with this change.. Gtk 3.14 will fix the problem as should be..

Or so it seems. Let's wait a bit... 😕

p.s: That mess that is this bug!. Were mixed all comments.. haha. 😅

matiasdelellis added a commit that referenced this pull request Nov 5, 2015

Allow apply a custom css. Related to Issue #64, #87
This allows to force the symbolic icons for gnome 3 lovers.

@TingPing TingPing closed this Jan 24, 2016

matiasdelellis added a commit that referenced this pull request Feb 3, 2016

Allow apply a custom css. Related to Issue #64, #87
This allows to force the symbolic icons for gnome 3 lovers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment