Skip to content
New issue

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

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Better compatibility with Gtk3 #87

Closed
wants to merge 8 commits into from
Closed

Better compatibility with Gtk3 #87

wants to merge 8 commits into from

Conversation

mgyugcha
Copy link

Hello, I made some changes in pragha for better integration with GTK3.

  • Added a GtkHeaderBar for adapt to new versions of Gnome and Gtk+.
  • Added a new gboolean to pragha-preferences, for save the state of
    the dialog. If this gboolean is FALSE disables the equalizer and
    prevents user interaction with the interface.
  • The minimum version of Gtk to compile 3.12
  • Spanish language has been updated.
  • Rework some dialogs (equalizer, open files, open locations...)
  • Now it used symbolic icons.
  • Added margins to some containers (GtkBox, GtkPaned, GtkWindow).
  • Added Dark mode.

Screenshots

pragha-main-window

pragha-dark-window

pragha-header-bar

pragha-equalizer

pragha-open-file

pragha-preferences

  • Pragha in xfce

pragha-xfce

Thanks for reviewing. I love pragha :)

* Added a GtkHeaderBar for adapt to new versions of Gnome and Gtk+.

* Added a new gboolean to pragha-preferences, for save the state of
  the dialog. If this gboolean is FALSE disables the equalizer and
  prevents user interaction with the interface.

* The minimum version of Gtk to compile 3.12

* Spanish language has been updated.
* Added a GtkHeaderBar and style buttons for adapt to new versions of
  Gnome and Gtk+.
* Added a GtkHeaderBar and style buttons for adapt to new versions of
  Gnome and Gtk+.
* Rework some dialogs.
* Now it used symbolic icons.
* Added margins to some containers (GtkBox, GtkPaned, GtkWindow).
* Added Dark mode.
@matiasdelellis
Copy link
Contributor

Hi @mgyugcha
Good job and thank you for helping me!.

Please you can make a new pull request for each change? It's easier to do the review, and discuss changes..

About changes, without test or see commits (They are very large and freze firefox. haha):

Added a GtkHeaderBar for adapt to new versions of Gnome and Gtk+.

It looks great, I just hope that respects the preference in the dialogue. 😉

Added a new gboolean to pragha-preferences, for save the state of the dialog. If this gboolean is FALSE disables the equalizer and prevents user interaction with the interface.

Yes!, it was something that was pending .. 👍

The minimum version of Gtk to compile 3.12

Why? I think it is unnecessary, but we can discuss it later. 😔

Spanish language has been updated.

No.. Use https://www.transifex.com/matias/Pragha/ to it and ignore any changes that have to do with translations in pull request!. 😐

Rework some dialogs (equalizer, open files, open locations...)

Again, +1, but optional.. 😉

Now it used symbolic icons.

NOOOO. Sorry, but I will not accept this change!. Theme designers are able to force it .. 😞

e.g: shimmerproject/Greybird@61ec18d

A more detailed description of my position here..
https://blogs.gnome.org/mclasen/2014/06/24/whats-that-icon/#comment-1211

Added margins to some containers (GtkBox, GtkPaned, GtkWindow).

Perhaps it would be useful, I have to do what they are..

Added Dark mode.

Wow, I guess it's okay. 😉

Wow.. Thanks again!.
Expect the new pull request and gladly merged.. 😄

@mgyugcha
Copy link
Author

Hello, the principal reason for use symbolic icons is that in Gnome Desktop the icons have a problem.

screenshot from 2015-10-14 15-34-20

Then, I have a solution. We can use symbolic icons only in Gnome and in XFCE use the default icons.

@matiasdelellis
Copy link
Contributor

Hi,

Hello, the principal reason for use symbolic icons is that in Gnome Desktop the icons have a problem.

Exactly, therefore I insist that it is a problem of designers..

The problem is that gnome designers not have the corrects icons.. In the same way, there are others icon themes that do not have some the symbolic icons, but they have colored icons (See elementary icon theme).. and the problem is that designers must have complete icons set. both symbolic, as colored.

Sorry, but as a developer we should not worry about this.

Designers must complete their icon themes, and then select symbolic icons when strictly necessary.

p.s: See b7ca1f1
In a moment try to fix it, but then discovered that the experience never is complete because in the end depends of designers..

@mgyugcha
Copy link
Author

Ok. I'll put icons as they were.
There is another problem to solve in this pull request?

@matiasdelellis
Copy link
Contributor

Hi,

Ok. I'll put icons as they were.

Ok.. Sorry if you're not satisfied, but I think it's best..

There is another problem to solve in this pull request?

Mmm.. Your text editor is turning spaces in tabs automatically. (For example in function prototypes that you never change.), that generates many changes of lines, and therefore a huge patch. The problem is not the size, it is practically impossible to find your true changes between a so big diff.

Try that at the pull request just include your changes.. Nothing more. 😉

Also other code styles.. like using spaces instead of tabs for spacing functions .. In general use:

{
|←tab→|{
|←tab→|←tab→|a_very_long_func_name_breaking_120_chars (type first_argument,
|←tab→|←tab→|← - - - any sane number of spaces - - - →|type second_argument,
|←tab→|←tab→|← - - - any sane number of spaces - - - →|type third_argument);
|←tab→|}
}

You're new contributing? I know these things are annoying, but not get discouraged!!. 😄

Probably cost you a couple of attempts to do well, but it's worth .. 😏
Saludos!!.

@mgyugcha
Copy link
Author

Hi, I solved the issue with symbolic icons.
Thank you for this great music player and sorry for my short words, but I don't speak much English.

I have more ideas for Pragha. Can you give me your email?

@matiasdelellis
Copy link
Contributor

Hi!!.. Please, send me a mail (See my address on source code ;) and we speak in Spanish.. 😉

@mgyugcha
Copy link
Author

For display purposes the dark-mode has been removed.

@matiasdelellis
Copy link
Contributor

Hi again,
As I comment you in private, there are many accumulated commits..

Try doing a branch WIP/CSD, and add your changes of client side decorations in a single commit to see you're doing and to comment easier. 😉

Then we can make a new pulls request and merge it. ;)

@mgyugcha mgyugcha closed this Oct 23, 2015
matiasdelellis added a commit that referenced this pull request Nov 5, 2015
This allows to force the symbolic icons for gnome 3 lovers.
matiasdelellis added a commit that referenced this pull request Feb 3, 2016
This allows to force the symbolic icons for gnome 3 lovers.
matiasdelellis added a commit that referenced this pull request Feb 26, 2019
This allows to force the symbolic icons for gnome 3 lovers.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants