Commit graph

51 commits

Author SHA1 Message Date
Marek Kasik
8d77636ac6 printers: Check for "all-edit" policy in "Unlock" button
The policy "all-edit" groups almost all policies from cups-pk-helper,
hence we don't need to authenticate more than once (#645533).
2011-03-23 14:05:31 +01:00
Marek Kasik
a731dcb28b printers: Show IP address of printer
Show address of printer in "IP Address" field.
2011-03-18 16:35:12 +01:00
Alexander Larsson
7c3011c352 Fix include not found for gsettings-desktop-schemas/gdesktop-enums.h
pkg-config --cflags gsettings-desktop-schemas lists:
 $incdir/gsettings-desktop-schemas
and that directory contains a gdesktop-enums.h file, so including
<gsettings-desktop-schemas/gdesktop-enums.h> will fail unless
the parent directory also accidentally got added as -I.
2011-03-18 15:50:05 +01:00
Marek Kasik
e2f6f36b8e printers: Handle no printers situation better
Show "No printer available" in the device list.
Show "Add New Printer" button on the right side.
Show appropriate message if CUPS is not running.
Fixes #641421.
2011-03-18 14:45:57 +01:00
Marek Kasik
bedb8e1218 printers: Don't sort printers by usage
It is very inefficient to get all jobs when there are
thousands of them. Sort it alphabetically.
2011-03-18 12:55:18 +01:00
Bastien Nocera
5fdc90cc8b 2.91.91
Fix wrong include lines, so distcheck works
2011-03-08 11:59:16 +00:00
Marek Kasik
3fb4d4af27 printers: Add dialog for adding new printers
The dialog is able to add printers discovered by cupsGetDevices().
It can also add printers from a remote CUPS server by typing
its address and selecting printer we want to add (#640734).
2011-03-07 17:09:00 +01:00
Bastien Nocera
3336eb9d88 lib: Add a lock button
Instead of using a copy/pasted version, until GTK+ includes
such a button itself.
2011-02-23 14:59:21 +00:00
Marek Kasik
395d083782 printers: Don't show driver version in model name
Get value of ModelName attribute from printer's PPD file
or use cleaned up printer-make-and-model attribute if ModelName
is not available (#641288).
2011-02-22 17:26:31 +01:00
Marek Kasik
83056c17dc printers: Modify jobs list
Don't include owner's name in the list (it is actual user).
Left align text in rows. Take into account system settings
when showing time (12h/24h). Show headers.
2011-02-14 14:02:17 +01:00
Marek Kasik
8db5e051cd printers: Set Options and Show buttons sensitive
Set "Options" button and "Show" button sensitive if there is a printer
selected.
2011-02-14 13:52:19 +01:00
Marek Kasik
45df865718 printer: Some UI tweaks
Set minimal width of renderer showing names of printers to 120 pixels.
Set also ellipsizing for the renderer. Set some widgets insensitive
when there is no printer (#641421). Set correct character for empty
fields. Always set background color for supply levels' GtkDrawingArea.
2011-02-10 15:34:20 +01:00
Marek Kasik
aa0f4765c4 printers: Replace "Idle" state by "Ready" 2011-02-10 12:34:15 +01:00
Marek Kasik
0f1caabc33 printers: Don't try to draw empty ink level 2011-02-10 11:04:17 +01:00
Marek Kasik
88ff47618b printers: Don't show printers separator when not needed
Don't show printers separator when there are only unused printers.
2011-02-10 11:00:27 +01:00
Marek Kasik
fc4bf8bf9d printers: Change widget showing supply levels
Show Ink/Toner levels in one rectangle now. It sorts
levels and shows the highest level. It paints the lower
levels on top of that. So the lowest level is on top
(overlapping the others).
It also shows "Ink Level"/"Toner Level"/"Supply Level"
label for corresponding supplies now.
2011-02-08 16:27:50 +01:00
Luca Ferretti
dfdc194cbe printers: add translation context to statuses (#641339)
Add translation context to printer status and job status. Increase required
inltool to 0.40.1 in order to use NC_(). See bug #641339 for details.
2011-02-07 11:55:27 +01:00
Luca Ferretti
18d764cf9f printers: l10n fixes for jobs count
use ngettext for "%d active" message and don't mark as translatable
the related placeholder in printers.ui file
Slightly modified by Marek Kasik.
2011-02-07 10:56:06 +01:00
Marek Kasik
2406752685 printers: Sort printers by usage
Sort printers by amount of jobs sent to them (#641285). Separate
unused printers by separator from the rest of printers.
2011-02-04 17:09:00 +01:00
Marek Kasik
6d27be8f78 printers: Add unlock button (#640733)
Add unlock button from the User Accounts panel to the Printer panel.
2011-02-02 16:59:50 +01:00
William Jon McCann
04f84937a6 network: use emblem-default-symbolic for the default printer 2011-02-02 02:18:07 -05:00
William Jon McCann
111b2785f8 printers: remove unused variables 2011-02-02 00:36:10 -05:00
Matthias Clasen
79752c921a Printers: fix panel width 2011-02-02 00:22:35 -05:00
Marek Kasik
265948473e printers: Show icons of printers in printers list
Mark default printer in printers list.
2011-02-01 16:40:42 +01:00
Marek Kasik
88562eba2d printers: Reorganize main tab
Remove printer's description.
Remove "Clean Print Heads" button.
Move allowed users list to Options tab.
Change printer-disable-button to GtkSwitch.
Show printer's model name.
Show an icon of printer.
2011-02-01 15:05:52 +01:00
Marek Kasik
8ba88c2309 printers: Move list of printer's jobs to notebook tab
Add buttons for switching between different tabs
(tabs are invisible).
Show number of active jobs in main tab.
2011-02-01 11:23:35 +01:00
Marek Kasik
9f2fb8520f printers: Bring back buttons for addition/removal of printers 2011-02-01 10:11:17 +01:00
Bastien Nocera
0e577e3890 printers: Add better translator comment for "Developer"
https://bugzilla.gnome.org/show_bug.cgi?id=640810
2011-01-28 15:59:13 +00:00
William Jon McCann
34298c696b printers: use toolbar pattern for jobs list 2011-01-26 16:40:37 -05:00
William Jon McCann
72de22398c printers: add junctions for allowed users list 2011-01-26 15:53:08 -05:00
Marek Kasik
107e4db2f8 printers: Place buttons adding/removing allowed users to toolbar 2011-01-25 15:24:07 +01:00
Marek Kasik
81a227558b printers: Remove compiler's warnings 2011-01-24 16:41:11 +01:00
Marek Kasik
468a9af0e6 printers: Set correct background color for supply levels 2011-01-24 16:30:22 +01:00
Marek Kasik
254d631a6d printers: Remove temporary files after using them
Remove some memory leaks.
2011-01-23 14:12:47 +01:00
Marek Kasik
d3f604d06a printers: Add comments for translators
Change printer's state '5' from "Paused" to "Stopped".
2011-01-21 16:04:11 +01:00
Marek Kasik
fdd13a9f83 printers: Add ability to add allowed users 2011-01-21 12:45:17 +01:00
Marek Kasik
c9ebbd57da printers: Unescape spaces in names of printer supplies
Don't place new line at the end of supply names.
2011-01-19 14:05:55 +01:00
Marek Kasik
deebec140e printers: Make printer's status translatable
Translate printer's status correctly.
Don't translate maintenance commands.
2011-01-18 16:04:47 +01:00
Marek Kasik
de630d0da3 printers: Implement calling of CUPS maintenance commands
Link corresponding buttons to "PrintSelfTestPage"
and "Clean" CUPS maintenance commands.
2011-01-18 12:54:23 +01:00
Marek Kasik
04d6e36347 printers: Remove printer add/remove buttons
Add setting of default printer.
2011-01-18 12:54:23 +01:00
Marek Kasik
7595228b19 printers: Replace toolbar with horizontal box
Due to custom styles, toolbars can look very different
from the rest of panel. This changes toolbar which
contains controls for adding/removing allowed users
to horizontal box.
2011-01-18 12:54:23 +01:00
Marek Kasik
1ea42cc212 printers: Show supply levels
Shows supply levels for printers which return marker-levels,
marker-colors and marker-names attributes.
There are 2 things to finish here:
  - set properly background color of the drawing area
  - remove backslashes from names of marker-names
2011-01-18 12:54:23 +01:00
Marek Kasik
b9b2de1e0e printers: Rework Printer Jobs panel 2011-01-18 12:54:22 +01:00
Marek Kasik
af6e2febc9 printers: Remove Printer URI field + little tweak of row spacing 2011-01-18 12:54:22 +01:00
Marek Kasik
21c715edd3 printers: Select the last used printer when Printers panel starts 2011-01-18 12:54:22 +01:00
Marek Kasik
9d61205ef9 printers: Add printer's status field 2011-01-18 12:54:22 +01:00
Marek Kasik
0b5c0e03dc printers: Gray out paused printers in printers list 2011-01-18 12:54:22 +01:00
Marek Kasik
23faa29ffd printers: Show printer's description instead of its name 2011-01-18 12:54:22 +01:00
Marek Kasik
22f0ad394e Select a printer when panel loads.
Change +/- stock icons to list-add/list-remove icons.
2011-01-18 12:54:22 +01:00
Marek Kasik
2abe2c2efc Set border style of toolbars to none (plain). 2011-01-18 12:54:22 +01:00