summaryrefslogtreecommitdiff
path: root/panels
Commit message (Collapse)AuthorAgeFilesLines
* network: Use radio buttons instead of a combobox in IP pagesGeorges Basile Stavracas Neto2017-06-146-304/+289
| | | | | | | | | | | | | Per the latest mockups [1], the IP pages use a set of four radio buttons to control the method, rather than a switch + a combobox, which is what the current implementation uses. This patch, then, adapts the IP pages of the connection editor dialog to use a set of radio buttons at the top of the page. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Move Security page to the endGeorges Basile Stavracas Neto2017-06-141-8/+15
| | | | | | | | | | | | Per the mockups at [1], the Security page is the last visible page. This patch also adds a small code refactoring to avoid multiple string comparisons. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Adapt forget button label according to connection typeGeorges Basile Stavracas Neto2017-06-142-1/+11
| | | | | | | | | | | | | | Per the mockup [1], the Forget button has different labels depending on the connection type. For example, when editing a VPN connection, the Forget button reads "Remove VPN", while when editing a Wi-Fi connection reads "Forget Connection". This patch adapts the forget button label according to the connection type. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Drop Reset pageGeorges Basile Stavracas Neto2017-06-149-248/+46
| | | | | | | | | | | | | Following the latest mockups [1], the "Forget" button is now available in the Details page, and the Reset page is gone. This patch then removes the Reset page, and moves the functionality to the Details page. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Move checkboxes to Details pageGeorges Basile Stavracas Neto2017-06-148-173/+69
| | | | | | | | | | | | | | | In the advanced connection editor dialog, currently, the options to share a connection with all users and to connect automatically are inside the Identity page. The redesigned connection editor, however, features these options in the Details page as per the mockup [1]. Fix this by moving these options to the Details page. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Align details page labels at startGeorges Basile Stavracas Neto2017-06-141-10/+14
| | | | | | | | | Instead of keeping the labels centralized, align them at the start of the dialog, as the mockup [1] proposes. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* printers: Add print "Test Page" button to Options DialogFelipe Borges2017-06-143-2/+119
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=779708
* printers: Introduce pp_printer_print_file_asyncFelipe Borges2017-06-142-0/+135
| | | | | | An asynchronous wrapper to print files. https://bugzilla.gnome.org/show_bug.cgi?id=779708
* network: Reduce connection editor dialog widthGeorges Basile Stavracas Neto2017-06-131-1/+1
| | | | | | | | | The current default width is 600px, which is a bit too much and leaves a lot of blank space. Fix that by reducing the default width to 500px. https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Rely on notebook tabs to switch connection editor pagesGeorges Basile Stavracas Neto2017-06-132-100/+9
| | | | | | | | | | | | | Instead of using a sidebar, which is what the current implementation uses to switch pages, the latest mockups [1] rely on the notebook tabs. This patch then updates the connection editor dialog to use the notebook tabs as the page switcher widget. [1] https://github.com/gnome-design-team/gnome-mockups/blob/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* tz.c: compiler warning: implicit declaration of function ‘islower’Alan Coopersmith2017-06-121-0/+1
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=783641 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* info: Trivial, fix indentationMohammed Sadiq2017-06-103-702/+702
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=779216
* info: Derive subpanels from CcPanelMohammed Sadiq2017-06-109-12/+33
| | | | | | | This is required for adding these subpanels as panels for the new g-c-c shell design. https://bugzilla.gnome.org/show_bug.cgi?id=779216
* removable-media: Avoid use of GtkAlignmentMohammed Sadiq2017-06-101-289/+271
| | | | | | | | GtkAlignment has been deprecated since Gtk 3.14. So Let's replace it with properties like "valign", "halign", "margin", and so on. https://bugzilla.gnome.org/show_bug.cgi?id=779216
* info-overview: Simplify UI codeMohammed Sadiq2017-06-101-57/+1
| | | | | | | | Increasing width of a column makes column in each row to have the same width. So it is unnecessary to set 3rd column of each row separately to have the same width. Let's do it just once. https://bugzilla.gnome.org/show_bug.cgi?id=779216
* removable-media: Replace GtkTable with GtkGridMohammed Sadiq2017-06-091-51/+30
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=779216
* info-overview: replace GtkTable with GtkGridMohammed Sadiq2017-06-092-135/+109
| | | | | | | GtkTable has been deprecated. So let it be replaced with GtkGrid. https://bugzilla.gnome.org/show_bug.cgi?id=779216
* info: Remove dead ui codeMohammed Sadiq2017-06-091-322/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=779216
* background: handle EXIF orientation in chooserSilvère Latchurié2017-06-071-2/+67
| | | | | | | | | | | | | | | The chooser ignores EXIF orientations embedded in the pictures when the thumbnails are generated. Because the EXIF informations are available after the file has been loaded, it has to be reloaded if the transformed dimensions don't match the thumbnails constraints. The transformations are directly applied for EXIF orientations 1, 2, 3 and 4. For EXIF orientations 5, 6, 7 and 8, the pictures are reloaded with swapped dimensions before the transformations are applied. https://bugzilla.gnome.org/show_bug.cgi?id=783200
* background: Add more information to run-time warningBastien Nocera2017-06-071-1/+1
| | | | | It was impossible to know which background XML had an error with the original message.
* wacom: Fix compile-time warningBastien Nocera2017-06-071-1/+1
| | | | expected ‘GtkWidget * {aka struct _GtkWidget *}’ but argument is of type ‘CcWacomNavButton * {aka struct _CcWacomNavButton *}’
* details: Split removable media as a separate panelMohammed Sadiq2017-06-047-968/+1448
| | | | | | | As part of the preparation to split all these pages as separate panels in the future. https://bugzilla.gnome.org/show_bug.cgi?id=779216
* online-accounts: Increase the spacing above the "Remove Account" buttonDebarshi Ray2017-05-311-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=779368
* region: Avoid starting with a gap at the bottom of the input chooserRui Matos2017-05-301-1/+1
| | | | | | | We can simply let the natural size request determine the dialog's height. https://bugzilla.gnome.org/show_bug.cgi?id=783058
* region: Don't return the input chooser dialog if nothing is selectedRui Matos2017-05-301-3/+4
| | | | | | | | In some cases we end up getting an input source row activated without it being selected. This seems like a GtkListBox bug but we can easily avoid it. https://bugzilla.gnome.org/show_bug.cgi?id=783058
* region: Make the input source chooser back button activate on clickRui Matos2017-05-301-0/+20
| | | | | | | | We lost this behavior with commit 3b14056a01b2dd16880e9f936de8be3cf13cc96f to fix keyboard navigation but we can add it back by handling button events ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=783058
* online-accounts: Move the margins and spacing lower down the hierarchyGeorges Basile Stavracas Neto2017-05-301-4/+3
| | | | | | | | | | | | | | The expired credentials GtkButton is going to be replaced with a GtkInfoBar touching the top, start and end edges of the GtkDialog. Therefore, the margins around the account details and GtkSwitches cannot be set on the higher level GtkBoxes. Instead, they need to be set lower down the hierarchy closer to the actual widgets that need them. Bump required GOA version for the new goa_provider_show_account behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=779368
* printers: Use headerbar in PpOptionsDialogFelipe Borges2017-05-291-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=779708
* printers: Drop PpOptionsDialog action_areaFelipe Borges2017-05-291-23/+0
| | | | | | | There's no need for the dialog action_area since we are moving towards a header bar dialog. https://bugzilla.gnome.org/show_bug.cgi?id=779708
* printers: Move options dialog spinner out of the action areaMichael Catanzaro2017-05-292-98/+75
| | | | | | | | | | | | | | | | | For an infinitesimal amount of time after opening the options dialog, a spinner is displayed at the start of the action area while the dialog loads asynchronously. Display the spinner in the center of the dialog instead, using a GtkStack to switch between spinner mode and normal mode. Test by removing the calls to printer_get_ppd_async(), get_named_dest_async(), and get_ipp_attributes_async() from the bottom of populate_options(). Why? (1) It looks better this way. (2) Need to stop using the action area in order to switch to a header bar. https://bugzilla.gnome.org/show_bug.cgi?id=755713 https://bugzilla.gnome.org/show_bug.cgi?id=779708
* printers: Scroll view to show newly added PrinterFelipe Borges2017-05-292-2/+18
| | | | | | | | | | In scenarios with a long list of printers, it might be difficult to find a newly added printer. This patch make the view scroll to the allocated position of the printer entry. https://bugzilla.gnome.org/show_bug.cgi?id=779506
* printers: Drop "select_new_printer" property leftoverFelipe Borges2017-05-291-3/+0
| | | | | | | | | | The select_new_printer property used to be an indicator whether the view should change to present the newly added printer. With the Printers presented as a list in the new design, there's no need for this flag. https://bugzilla.gnome.org/show_bug.cgi?id=779506
* info: Remove unused struct membersMohammed Sadiq2017-05-271-4/+0
| | | | | | | These struct members has been moved to overview panel and is no longer used here. https://bugzilla.gnome.org/show_bug.cgi?id=779216
* printers: Use Unicode quotation marks in a translatable stringPiotr Drąg2017-05-261-1/+1
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772199
* printers: Add 10s timeout for printer removalFelipe Borges2017-05-261-0/+35
| | | | | | | | | Dismisses the Printer removal notification after 10 seconds, removing the printer permanently. The 10 seconds value is taken from the online-accounts panel. https://bugzilla.gnome.org/show_bug.cgi?id=693187
* printers: Allow undoing deletion of a printerFelipe Borges2017-05-263-19/+196
| | | | | | | | | | | | | | | | | Instead of directly applying the deletion of a printer, we should follow the GNOME in-app notification deletion guidelines. This patch introduces the in-app notification following the HIG[0] for the deletion of a printer. It allows to "undo" the deletion. The default behavior for these notification is to dismiss a previous notification. In doing so, when deleting multiple printers, the "Undo" button only restores the last deleted one. We don't do batch/ bulk removal in the printers panel. [0] https://developer.gnome.org/hig/stable/in-app-notifications.html.en https://bugzilla.gnome.org/show_bug.cgi?id=693187
* printers: Remove printers asynchronouslyFelipe Borges2017-05-263-1/+133
| | | | | | Introduce pp_printer_delete_async () https://bugzilla.gnome.org/show_bug.cgi?id=693187
* region: Use locale aware date time formats for previewingChangwoo Ryu2017-05-252-35/+29
| | | | | | %x for date, %X for time, %c for date&time. https://bugzilla.gnome.org/show_bug.cgi?id=687923
* details: Split default apps as a separate panelMohammed Sadiq2017-05-247-321/+459
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=779216
* network: Make the history dialog use a headerbarGeorges Basile Stavracas Neto2017-05-221-23/+42
| | | | | | | | | | | | | | | | In order to start moving towards the new redesigned Network panel [1], it is necessary to make the dialogs use a headerbar. Currently, however, they don't, making the dialog sinconsistent with the rest of the panels, and the GNOME desktop as a whole. Fix that by setting the headerbar to the History dialog, and adjusting the elements so hat they match the "Known Wi-Fi Networks" dialog in the mockup [1]. [1] https://github.com/gnome-design-team/gnome-mockups/blob/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Update the hotspot dialogJonathan Kang2017-05-222-136/+44
| | | | | | | | | Update the hotspot dialog according to the new redesigned Network panel[1]. [1] https://github.com/gnome-design-team/gnome-mockups/blob/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* network: Make connection editor dialog use a headerbarGeorges Basile Stavracas Neto2017-05-211-43/+22
| | | | | | | | | | | | | | | | In order to start moving towards the new redesigned connection editor [1], it is necessary to make the dialog use a headerbar. Currently, however, it doesn't, making the connection editor dialog inconsistent with the rest of the panels, and the GNOME desktop as a whole. Fix that by exporting the buttons as action buttons, and setting the use-header-bar property to TRUE. [1] https://github.com/gnome-design-team/gnome-mockups/blob/master/system-settings/network/aday2/network-wires.png https://bugzilla.gnome.org/show_bug.cgi?id=779841
* info: Remove unused codeMohammed Sadiq2017-05-211-30/+0
| | | | | | | The GraphicsData structure wasn't being used in CcInfoPanel's code, and can be safely dropped. https://bugzilla.gnome.org/show_bug.cgi?id=779216
* network: Remove remaining traces of firewalld zones supportRui Matos2017-05-182-3/+0
| | | | | These were overlooked in commit b36924567e16839fbdc8796b975970e214719d81.
* display: Handle monitor scales on the arrange displays dialogRui Matos2017-05-181-15/+45
| | | | | | | We need to simply scale monitors' width and height where appropriate and the API allows us. https://bugzilla.gnome.org/show_bug.cgi?id=782785
* display: Add a slider to select a monitor's scale when availableRui Matos2017-05-181-0/+48
| | | | | | | | Mutter's new display configuration API allows configurable per-monitor scales within a finite set determined by mutter. We expose the available values in a simple slider widget for each monitor. https://bugzilla.gnome.org/show_bug.cgi?id=782785
* display: Don't do automatic layout adjustments with the new APIRui Matos2017-05-181-9/+16
| | | | | | | | The new API checks with mutter every time update_apply_button() is called and mutter is very strict about this so it already does these adjustments internally. https://bugzilla.gnome.org/show_bug.cgi?id=782785
* display: Unset primary from a turned off monitorRui Matos2017-05-181-0/+1
| | | | | | | | | When setting the primary monitor off we were setting all other monitors as non-primary which is clearly wrong. It only worked correctly because the backend code in GnomeRR would implicitly select a primary for us. https://bugzilla.gnome.org/show_bug.cgi?id=782785
* display: Choose config manager implementation according to DBus APIRui Matos2017-05-181-17/+93
| | | | | | | | | Use mutter's new display configuration API if it's available or fallback to the old API via GnomeRR. The new API requires a new way to identify outputs so we also need to use an alternative monitor labeler API. https://bugzilla.gnome.org/show_bug.cgi?id=782785
* display: Provide an implementation for mutter's new display config APIRui Matos2017-05-185-0/+1917
| | | | | | | | | This adapts as much as possible mutter's new display config API to the current display panel's expectations. In particular we keep the concept of logical monitors hidden from the panel. They will later be exposed when we re-design the panel to make full use of the new API. https://bugzilla.gnome.org/show_bug.cgi?id=782785